public class VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxVertexAttribDivisor – the maximum value of the number of instances that will repeat the value of vertex attribute data when instanced rendering is enabled.
struct VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t maxVertexAttribDivisor;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer
An array of
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXVERTEXATTRIBDIVISOR
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 |
|---|
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the specified MemoryStack. |
int |
maxVertexAttribDivisor()
Returns the value of the
maxVertexAttribDivisor field. |
static int |
nmaxVertexAttribDivisor(long struct)
Unsafe version of
maxVertexAttribDivisor(). |
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. |
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
set(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT |
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 MAXVERTEXATTRIBDIVISOR
public VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT 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 int maxVertexAttribDivisor()
maxVertexAttribDivisor field.public VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT set(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT malloc()
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT calloc()
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT create()
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT create(long address)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT mallocStack()
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT callocStack()
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.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 nmaxVertexAttribDivisor(long struct)
maxVertexAttribDivisor().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.