Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPipelineVertexInputStateCreateInfo

extends Struct<VkPipelineVertexInputStateCreateInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying parameters of a newly created pipeline vertex input state.
Valid Usage
Valid Usage (Implicit)
See Also

VkGraphicsPipelineCreateInfo, VkGraphicsShaderGroupCreateInfoNV, VkVertexInputAttributeDescription, VkVertexInputBindingDescription

Layout


struct VkPipelineVertexInputStateCreateInfo {
    VkStructureType sType;
    void const * pNext;
    VkPipelineVertexInputStateCreateFlags flags;
    uint32_t vertexBindingDescriptionCount;
    VkVertexInputBindingDescription const * pVertexBindingDescriptions;
    uint32_t vertexAttributeDescriptionCount;
    VkVertexInputAttributeDescription const * pVertexAttributeDescriptions;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FLAGS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PVERTEXATTRIBUTEDESCRIPTIONS

The struct member offsets.

public static final int
PVERTEXBINDINGDESCRIPTIONS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
VERTEXATTRIBUTEDESCRIPTIONCOUNT

The struct member offsets.

public static final int
VERTEXBINDINGDESCRIPTIONCOUNT

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPipelineVertexInputStateCreateInfo(ByteBuffer container)

Creates a VkPipelineVertexInputStateCreateInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPipelineVertexInputStateCreateInfo
calloc()

Returns a new VkPipelineVertexInputStateCreateInfo instance allocated with memCalloc.

public static VkPipelineVertexInputStateCreateInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPipelineVertexInputStateCreateInfo.Buffer instance allocated with memCalloc.

public static VkPipelineVertexInputStateCreateInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineVertexInputStateCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPipelineVertexInputStateCreateInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineVertexInputStateCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPipelineVertexInputStateCreateInfo
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineVertexInputStateCreateInfo
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineVertexInputStateCreateInfo.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineVertexInputStateCreateInfo.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkPipelineVertexInputStateCreateInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPipelineVertexInputStateCreateInfo
create()

Returns a new VkPipelineVertexInputStateCreateInfo instance allocated with BufferUtils.

public static VkPipelineVertexInputStateCreateInfo
create(long address)

Returns a new VkPipelineVertexInputStateCreateInfo instance for the specified memory address.

public static VkPipelineVertexInputStateCreateInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPipelineVertexInputStateCreateInfo.Buffer instance allocated with BufferUtils.

public static VkPipelineVertexInputStateCreateInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPipelineVertexInputStateCreateInfo.Buffer instance at the specified memory.

public static VkPipelineVertexInputStateCreateInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPipelineVertexInputStateCreateInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
flags()

reserved for future use.

public VkPipelineVertexInputStateCreateInfo
flags(int value)

Sets the specified value to the flags field.

public static VkPipelineVertexInputStateCreateInfo
malloc()

Returns a new VkPipelineVertexInputStateCreateInfo instance allocated with memAlloc.

public static VkPipelineVertexInputStateCreateInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPipelineVertexInputStateCreateInfo.Buffer instance allocated with memAlloc.

public static VkPipelineVertexInputStateCreateInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineVertexInputStateCreateInfo instance allocated on the specified MemoryStack.

public static VkPipelineVertexInputStateCreateInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineVertexInputStateCreateInfo.Buffer instance allocated on the specified MemoryStack.

public static VkPipelineVertexInputStateCreateInfo
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineVertexInputStateCreateInfo
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineVertexInputStateCreateInfo.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineVertexInputStateCreateInfo.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkVertexInputAttributeDescription.Buffer
public static void
public static VkVertexInputBindingDescription.Buffer
public static void
public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
public static void
nvertexAttributeDescriptionCount(long struct, int value)

Sets the specified value to the vertexAttributeDescriptionCount field of the specified struct.

public static int
public static void
nvertexBindingDescriptionCount(long struct, int value)

Sets the specified value to the vertexBindingDescriptionCount field of the specified struct.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPipelineVertexInputStateCreateInfo
pNext(long value)

Sets the specified value to the pNext field.

public VkPipelineVertexInputStateCreateInfo
public VkVertexInputAttributeDescription.Buffer
public VkPipelineVertexInputStateCreateInfo
public VkVertexInputBindingDescription.Buffer
pVertexBindingDescriptions()

a pointer to an array of VkVertexInputBindingDescription structures.

public VkPipelineVertexInputStateCreateInfo
public VkPipelineVertexInputStateCreateInfo
set(int sType, long pNext, int flags, VkVertexInputBindingDescription.Buffer pVertexBindingDescriptions, VkVertexInputAttributeDescription.Buffer pVertexAttributeDescriptions)

Initializes this struct with the specified values.

public VkPipelineVertexInputStateCreateInfo

Returns:

this struct
set
(VkPipelineVertexInputStateCreateInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPipelineVertexInputStateCreateInfo
sType(int value)

Sets the specified value to the sType field.

public VkPipelineVertexInputStateCreateInfo
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int
vertexAttributeDescriptionCount()

the number of vertex attribute descriptions provided in pVertexAttributeDescriptions.

public int
vertexBindingDescriptionCount()

the number of vertex binding descriptions provided in pVertexBindingDescriptions.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate