public class VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating the implementation-dependent behavior. VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT can also be included in pNext chain of VkDeviceCreateInfo to enable the feature.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.vertexAttributeInstanceRateDivisor – specifies whether vertex attribute fetching may be repeated in case of instanced rendering.vertexAttributeInstanceRateZeroDivisor – specifies whether a zero value for VkVertexInputBindingDivisorDescriptionEXT::divisor is supported.
struct VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 vertexAttributeInstanceRateDivisor;
VkBool32 vertexAttributeInstanceRateZeroDivisor;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer
An array of
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VERTEXATTRIBUTEINSTANCERATEDIVISOR
The struct member offsets.
|
static int |
VERTEXATTRIBUTEINSTANCERATEZERODIVISOR
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the specified MemoryStack. |
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. |
static int |
nvertexAttributeInstanceRateDivisor(long struct)
Unsafe version of
vertexAttributeInstanceRateDivisor(). |
static void |
nvertexAttributeInstanceRateDivisor(long struct,
int value)
Unsafe version of
vertexAttributeInstanceRateDivisor. |
static int |
nvertexAttributeInstanceRateZeroDivisor(long struct)
Unsafe version of
vertexAttributeInstanceRateZeroDivisor(). |
static void |
nvertexAttributeInstanceRateZeroDivisor(long struct,
int value)
Unsafe version of
vertexAttributeInstanceRateZeroDivisor. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
set(int sType,
long pNext,
boolean vertexAttributeInstanceRateDivisor,
boolean vertexAttributeInstanceRateZeroDivisor)
Initializes this struct with the specified values.
|
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
set(VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
vertexAttributeInstanceRateDivisor()
Returns the value of the
vertexAttributeInstanceRateDivisor field. |
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
vertexAttributeInstanceRateDivisor(boolean value)
Sets the specified value to the
vertexAttributeInstanceRateDivisor field. |
boolean |
vertexAttributeInstanceRateZeroDivisor()
Returns the value of the
vertexAttributeInstanceRateZeroDivisor field. |
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT |
vertexAttributeInstanceRateZeroDivisor(boolean value)
Sets the specified value to the
vertexAttributeInstanceRateZeroDivisor 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 VERTEXATTRIBUTEINSTANCERATEDIVISOR
public static final int VERTEXATTRIBUTEINSTANCERATEZERODIVISOR
public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT 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 vertexAttributeInstanceRateDivisor()
vertexAttributeInstanceRateDivisor field.public boolean vertexAttributeInstanceRateZeroDivisor()
vertexAttributeInstanceRateZeroDivisor field.public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT vertexAttributeInstanceRateDivisor(boolean value)
vertexAttributeInstanceRateDivisor field.public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT vertexAttributeInstanceRateZeroDivisor(boolean value)
vertexAttributeInstanceRateZeroDivisor field.public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT set(int sType, long pNext, boolean vertexAttributeInstanceRateDivisor, boolean vertexAttributeInstanceRateZeroDivisor)
public VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT set(VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT malloc()
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT calloc()
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT create()
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT create(long address)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT mallocStack()
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT callocStack()
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.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 nvertexAttributeInstanceRateDivisor(long struct)
vertexAttributeInstanceRateDivisor().public static int nvertexAttributeInstanceRateZeroDivisor(long struct)
vertexAttributeInstanceRateZeroDivisor().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nvertexAttributeInstanceRateDivisor(long struct,
int value)
vertexAttributeInstanceRateDivisor.public static void nvertexAttributeInstanceRateZeroDivisor(long struct,
int value)
vertexAttributeInstanceRateZeroDivisor.Copyright LWJGL. All Rights Reserved. License terms.