Package org.lwjgl.vulkan
Class VkPhysicalDeviceCornerSampledImageFeaturesNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceCornerSampledImageFeaturesNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceCornerSampledImageFeaturesNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing corner sampled image features that can be supported by an implementation.Description
If the
VkPhysicalDeviceCornerSampledImageFeaturesNVstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceCornerSampledImageFeaturesNVcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceCornerSampledImageFeaturesNV { VkStructureTypesType(); void *pNext(); VkBool32cornerSampledImage(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceCornerSampledImageFeaturesNV.BufferAn array ofVkPhysicalDeviceCornerSampledImageFeaturesNVstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCORNERSAMPLEDIMAGE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceCornerSampledImageFeaturesNV(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceCornerSampledImageFeaturesNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPhysicalDeviceCornerSampledImageFeaturesNVcalloc()Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated withmemCalloc.static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceCornerSampledImageFeaturesNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceCornerSampledImageFeaturesNVcallocStack()Deprecated.static VkPhysicalDeviceCornerSampledImageFeaturesNV.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceCornerSampledImageFeaturesNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceCornerSampledImageFeaturesNVcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.booleancornerSampledImage()specifies whether images can be created with aVkImageCreateInfo::flagscontainingIMAGE_CREATE_CORNER_SAMPLED_BIT_NV.VkPhysicalDeviceCornerSampledImageFeaturesNVcornerSampledImage(boolean value)Sets the specified value to thecornerSampledImage()field.static VkPhysicalDeviceCornerSampledImageFeaturesNVcreate()Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated withBufferUtils.static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffercreate(int capacity)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceCornerSampledImageFeaturesNVcreate(long address)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance for the specified memory address.static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance at the specified memory.static VkPhysicalDeviceCornerSampledImageFeaturesNVcreateSafe(long address)static VkPhysicalDeviceCornerSampledImageFeaturesNV.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceCornerSampledImageFeaturesNVmalloc()Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated withmemAlloc.static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceCornerSampledImageFeaturesNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceCornerSampledImageFeaturesNVmallocStack()Deprecated.static VkPhysicalDeviceCornerSampledImageFeaturesNV.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceCornerSampledImageFeaturesNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceCornerSampledImageFeaturesNVmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intncornerSampledImage(long struct)Unsafe version ofcornerSampledImage().static voidncornerSampledImage(long struct, int value)Unsafe version ofcornerSampledImage.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceCornerSampledImageFeaturesNVpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceCornerSampledImageFeaturesNVset(int sType, long pNext, boolean cornerSampledImage)Initializes this struct with the specified values.VkPhysicalDeviceCornerSampledImageFeaturesNVset(VkPhysicalDeviceCornerSampledImageFeaturesNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceCornerSampledImageFeaturesNVsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceCornerSampledImageFeaturesNVsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceCornerSampledImageFeaturesNV
public VkPhysicalDeviceCornerSampledImageFeaturesNV(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceCornerSampledImageFeaturesNVinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
cornerSampledImage
public boolean cornerSampledImage()
specifies whether images can be created with aVkImageCreateInfo::flagscontainingIMAGE_CREATE_CORNER_SAMPLED_BIT_NV. See Corner-Sampled Images.
-
sType
public VkPhysicalDeviceCornerSampledImageFeaturesNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceCornerSampledImageFeaturesNV sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NVvalue to thesType()field.
-
pNext
public VkPhysicalDeviceCornerSampledImageFeaturesNV pNext(long value)
Sets the specified value to thepNext()field.
-
cornerSampledImage
public VkPhysicalDeviceCornerSampledImageFeaturesNV cornerSampledImage(boolean value)
Sets the specified value to thecornerSampledImage()field.
-
set
public VkPhysicalDeviceCornerSampledImageFeaturesNV set(int sType, long pNext, boolean cornerSampledImage)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceCornerSampledImageFeaturesNV set(VkPhysicalDeviceCornerSampledImageFeaturesNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV malloc()
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV calloc()
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceCornerSampledImageFeaturesNV create()
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceCornerSampledImageFeaturesNV create(long address)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceCornerSampledImageFeaturesNV createSafe(long address)
-
malloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer create(int capacity)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCornerSampledImageFeaturesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ncornerSampledImage
public static int ncornerSampledImage(long struct)
Unsafe version ofcornerSampledImage().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ncornerSampledImage
public static void ncornerSampledImage(long struct, int value)Unsafe version ofcornerSampledImage.
-
-