Package org.lwjgl.vulkan
Class VkPipelineVertexInputDivisorStateCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineVertexInputDivisorStateCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineVertexInputDivisorStateCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying vertex attributes assignment during instanced rendering.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXTpVertexBindingDivisorsmust be a valid pointer to an array ofvertexBindingDivisorCountVkVertexInputBindingDivisorDescriptionEXTstructuresvertexBindingDivisorCountmust be greater than 0
See Also
VkVertexInputBindingDivisorDescriptionEXTLayout
struct VkPipelineVertexInputDivisorStateCreateInfoEXT { VkStructureTypesType(); void const *pNext(); uint32_tvertexBindingDivisorCount();VkVertexInputBindingDivisorDescriptionEXTconst *pVertexBindingDivisors(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineVertexInputDivisorStateCreateInfoEXT.BufferAn array ofVkPipelineVertexInputDivisorStateCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
PVERTEXBINDINGDIVISORSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
VERTEXBINDINGDIVISORCOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPipelineVertexInputDivisorStateCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkPipelineVertexInputDivisorStateCreateInfoEXTinstance 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 VkPipelineVertexInputDivisorStateCreateInfoEXTcalloc()Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated withmemCalloc.static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineVertexInputDivisorStateCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineVertexInputDivisorStateCreateInfoEXTcallocStack()Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXTcreate()Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated withBufferUtils.static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffercreate(int capacity)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkPipelineVertexInputDivisorStateCreateInfoEXTcreate(long address)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance for the specified memory address.static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance at the specified memory.static VkPipelineVertexInputDivisorStateCreateInfoEXTcreateSafe(long address)static VkPipelineVertexInputDivisorStateCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkPipelineVertexInputDivisorStateCreateInfoEXTmalloc()Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated withmemAlloc.static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineVertexInputDivisorStateCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated on the specifiedMemoryStack.static VkPipelineVertexInputDivisorStateCreateInfoEXTmallocStack()Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineVertexInputDivisorStateCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVertexInputBindingDivisorDescriptionEXT.BuffernpVertexBindingDivisors(long struct)Unsafe version ofpVertexBindingDivisors().static voidnpVertexBindingDivisors(long struct, VkVertexInputBindingDivisorDescriptionEXT.Buffer value)Unsafe version ofpVertexBindingDivisors.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intnvertexBindingDivisorCount(long struct)Unsafe version ofvertexBindingDivisorCount().static voidnvertexBindingDivisorCount(long struct, int value)Sets the specified value to thevertexBindingDivisorCountfield of the specifiedstruct.longpNext()NULLor a pointer to a structure extending this structure.VkPipelineVertexInputDivisorStateCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkVertexInputBindingDivisorDescriptionEXT.BufferpVertexBindingDivisors()a pointer to an array ofVkVertexInputBindingDivisorDescriptionEXTstructures specifying the divisor value for each binding.VkPipelineVertexInputDivisorStateCreateInfoEXTpVertexBindingDivisors(VkVertexInputBindingDivisorDescriptionEXT.Buffer value)Sets the address of the specifiedVkVertexInputBindingDivisorDescriptionEXT.Bufferto thepVertexBindingDivisors()field.VkPipelineVertexInputDivisorStateCreateInfoEXTset(int sType, long pNext, VkVertexInputBindingDivisorDescriptionEXT.Buffer pVertexBindingDivisors)Initializes this struct with the specified values.VkPipelineVertexInputDivisorStateCreateInfoEXTset(VkPipelineVertexInputDivisorStateCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPipelineVertexInputDivisorStateCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkPipelineVertexInputDivisorStateCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.intvertexBindingDivisorCount()the number of elements in thepVertexBindingDivisorsarray.
-
-
-
Constructor Detail
-
VkPipelineVertexInputDivisorStateCreateInfoEXT
public VkPipelineVertexInputDivisorStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkPipelineVertexInputDivisorStateCreateInfoEXTinstance 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.
-
vertexBindingDivisorCount
public int vertexBindingDivisorCount()
the number of elements in thepVertexBindingDivisorsarray.
-
pVertexBindingDivisors
public VkVertexInputBindingDivisorDescriptionEXT.Buffer pVertexBindingDivisors()
a pointer to an array ofVkVertexInputBindingDivisorDescriptionEXTstructures specifying the divisor value for each binding.
-
sType
public VkPipelineVertexInputDivisorStateCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineVertexInputDivisorStateCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkPipelineVertexInputDivisorStateCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pVertexBindingDivisors
public VkPipelineVertexInputDivisorStateCreateInfoEXT pVertexBindingDivisors(VkVertexInputBindingDivisorDescriptionEXT.Buffer value)
Sets the address of the specifiedVkVertexInputBindingDivisorDescriptionEXT.Bufferto thepVertexBindingDivisors()field.
-
set
public VkPipelineVertexInputDivisorStateCreateInfoEXT set(int sType, long pNext, VkVertexInputBindingDivisorDescriptionEXT.Buffer pVertexBindingDivisors)
Initializes this struct with the specified values.
-
set
public VkPipelineVertexInputDivisorStateCreateInfoEXT set(VkPipelineVertexInputDivisorStateCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT malloc()
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT calloc()
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineVertexInputDivisorStateCreateInfoEXT create()
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkPipelineVertexInputDivisorStateCreateInfoEXT create(long address)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineVertexInputDivisorStateCreateInfoEXT createSafe(long address)
-
malloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer create(int capacity)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineVertexInputDivisorStateCreateInfoEXT.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 VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineVertexInputDivisorStateCreateInfoEXT.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().
-
nvertexBindingDivisorCount
public static int nvertexBindingDivisorCount(long struct)
Unsafe version ofvertexBindingDivisorCount().
-
npVertexBindingDivisors
public static VkVertexInputBindingDivisorDescriptionEXT.Buffer npVertexBindingDivisors(long struct)
Unsafe version ofpVertexBindingDivisors().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nvertexBindingDivisorCount
public static void nvertexBindingDivisorCount(long struct, int value)Sets the specified value to thevertexBindingDivisorCountfield of the specifiedstruct.
-
npVertexBindingDivisors
public static void npVertexBindingDivisors(long struct, VkVertexInputBindingDivisorDescriptionEXT.Buffer value)Unsafe version ofpVertexBindingDivisors.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-