public class VkPhysicalDeviceCornerSampledImageFeaturesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceCornerSampledImageFeaturesNV structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceCornerSampledImageFeaturesNV can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
cornerSampledImage – specifies whether images can be created with a VkImageCreateInfo::flags containing IMAGE_CREATE_CORNER_SAMPLED_BIT_NV. See Corner-Sampled Images.
struct VkPhysicalDeviceCornerSampledImageFeaturesNV {
VkStructureType sType;
void * pNext;
VkBool32 cornerSampledImage;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer
An array of
VkPhysicalDeviceCornerSampledImageFeaturesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CORNERSAMPLEDIMAGE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceCornerSampledImageFeaturesNV(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceCornerSampledImageFeaturesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
calloc()
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated with memCalloc. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
callocStack()
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
boolean |
cornerSampledImage()
Returns the value of the
cornerSampledImage field. |
VkPhysicalDeviceCornerSampledImageFeaturesNV |
cornerSampledImage(boolean value)
Sets the specified value to the
cornerSampledImage field. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
create()
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated with BufferUtils. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
create(long address)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance for the specified memory address. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance at the specified memory. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
createSafe(long address)
|
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
malloc()
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated with memAlloc. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
mallocStack()
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceCornerSampledImageFeaturesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the specified MemoryStack. |
static int |
ncornerSampledImage(long struct)
Unsafe version of
cornerSampledImage(). |
static void |
ncornerSampledImage(long struct,
int value)
Unsafe version of
cornerSampledImage. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceCornerSampledImageFeaturesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceCornerSampledImageFeaturesNV |
set(int sType,
long pNext,
boolean cornerSampledImage)
Initializes this struct with the specified values.
|
VkPhysicalDeviceCornerSampledImageFeaturesNV |
set(VkPhysicalDeviceCornerSampledImageFeaturesNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceCornerSampledImageFeaturesNV |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int CORNERSAMPLEDIMAGE
public VkPhysicalDeviceCornerSampledImageFeaturesNV(java.nio.ByteBuffer container)
VkPhysicalDeviceCornerSampledImageFeaturesNV instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean cornerSampledImage()
cornerSampledImage field.public VkPhysicalDeviceCornerSampledImageFeaturesNV sType(int value)
sType field.public VkPhysicalDeviceCornerSampledImageFeaturesNV pNext(long value)
pNext field.public VkPhysicalDeviceCornerSampledImageFeaturesNV cornerSampledImage(boolean value)
cornerSampledImage field.public VkPhysicalDeviceCornerSampledImageFeaturesNV set(int sType, long pNext, boolean cornerSampledImage)
public VkPhysicalDeviceCornerSampledImageFeaturesNV set(VkPhysicalDeviceCornerSampledImageFeaturesNV src)
src - the source structpublic static VkPhysicalDeviceCornerSampledImageFeaturesNV malloc()
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceCornerSampledImageFeaturesNV calloc()
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceCornerSampledImageFeaturesNV create()
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated with BufferUtils.public static VkPhysicalDeviceCornerSampledImageFeaturesNV create(long address)
VkPhysicalDeviceCornerSampledImageFeaturesNV instance for the specified memory address.@Nullable public static VkPhysicalDeviceCornerSampledImageFeaturesNV createSafe(long address)
public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer malloc(int capacity)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer calloc(int capacity)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer create(int capacity)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer create(long address, int capacity)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceCornerSampledImageFeaturesNV mallocStack()
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceCornerSampledImageFeaturesNV callocStack()
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceCornerSampledImageFeaturesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceCornerSampledImageFeaturesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCornerSampledImageFeaturesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer mallocStack(int capacity)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer callocStack(int capacity)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCornerSampledImageFeaturesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ncornerSampledImage(long struct)
cornerSampledImage().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ncornerSampledImage(long struct,
int value)
cornerSampledImage.Copyright LWJGL. All Rights Reserved. License terms.