Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPipelineLayoutCreateInfo

extends Struct<VkPipelineLayoutCreateInfo>
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 the parameters of a newly created pipeline layout object.
Valid Usage
Valid Usage (Implicit)
See Also

VkPushConstantRange, CreatePipelineLayout

Layout


struct VkPipelineLayoutCreateInfo {
    VkStructureType sType;
    void const * pNext;
    VkPipelineLayoutCreateFlags flags;
    uint32_t setLayoutCount;
    VkDescriptorSetLayout const * pSetLayouts;
    uint32_t pushConstantRangeCount;
    VkPushConstantRange const * pPushConstantRanges;
}

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
PPUSHCONSTANTRANGES

The struct member offsets.

public static final int
PSETLAYOUTS

The struct member offsets.

public static final int
PUSHCONSTANTRANGECOUNT

The struct member offsets.

public static final int
SETLAYOUTCOUNT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkPipelineLayoutCreateInfo(long address, ByteBuffer container)

public
VkPipelineLayoutCreateInfo(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkPipelineLayoutCreateInfo
calloc()

Returns a new VkPipelineLayoutCreateInfo instance allocated with memCalloc.

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

Returns a new VkPipelineLayoutCreateInfo.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkPipelineLayoutCreateInfo
callocStack()

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

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

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

Deprecated
Deprecated for removal in 3.4.0.
protected VkPipelineLayoutCreateInfo
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 VkPipelineLayoutCreateInfo
create()

Returns a new VkPipelineLayoutCreateInfo instance allocated with BufferUtils.

public static VkPipelineLayoutCreateInfo
create(long address)

Returns a new VkPipelineLayoutCreateInfo instance for the specified memory address.

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

Returns a new VkPipelineLayoutCreateInfo.Buffer instance allocated with BufferUtils.

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

Create a VkPipelineLayoutCreateInfo.Buffer instance at the specified memory.

public static VkPipelineLayoutCreateInfo
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
flags()

a bitmask of VkPipelineLayoutCreateFlagBits specifying options for pipeline layout creation.

public VkPipelineLayoutCreateInfo
flags(int value)

Sets the specified value to the flags field.

public static VkPipelineLayoutCreateInfo
malloc()

Returns a new VkPipelineLayoutCreateInfo instance allocated with memAlloc.

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

Returns a new VkPipelineLayoutCreateInfo.Buffer instance allocated with memAlloc.

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

Returns a new VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack.

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

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

public static VkPipelineLayoutCreateInfo
mallocStack()

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

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

Deprecated
Deprecated for removal in 3.4.0.
public static VkPipelineLayoutCreateInfo.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 VkPushConstantRange.Buffer
npPushConstantRanges(long struct)

Unsafe version of pPushConstantRanges.

public static void
public static LongBuffer
npSetLayouts(long struct)

Unsafe version of pSetLayouts.

public static void
npSetLayouts(long struct, LongBuffer value)

Unsafe version of pSetLayouts.

public static int
npushConstantRangeCount(long struct)

Unsafe version of pushConstantRangeCount.

public static void
npushConstantRangeCount(long struct, int value)

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

public static int
nsetLayoutCount(long struct)

Unsafe version of setLayoutCount.

public static void
nsetLayoutCount(long struct, int value)

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

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPipelineLayoutCreateInfo
pNext(long value)

Sets the specified value to the pNext field.

public VkPushConstantRange.Buffer
pPushConstantRanges()

a pointer to an array of VkPushConstantRange structures defining a set of push constant ranges for use in a single pipeline layout.

public VkPipelineLayoutCreateInfo
public LongBuffer
pSetLayouts()

a pointer to an array of VkDescriptorSetLayout objects.

public VkPipelineLayoutCreateInfo
pSetLayouts(LongBuffer value)

Sets the address of the specified LongBuffer to the pSetLayouts field.

public int
pushConstantRangeCount()

the number of push constant ranges included in the pipeline layout.

public VkPipelineLayoutCreateInfo
set(int sType, long pNext, int flags, int setLayoutCount, LongBuffer pSetLayouts, VkPushConstantRange.Buffer pPushConstantRanges)

Initializes this struct with the specified values.

public VkPipelineLayoutCreateInfo

Returns:

this struct
set
(VkPipelineLayoutCreateInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
setLayoutCount()

the number of descriptor sets included in the pipeline layout.

public VkPipelineLayoutCreateInfo
setLayoutCount(int value)

Sets the specified value to the setLayoutCount field.

public int
sizeof()

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

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPipelineLayoutCreateInfo
sType(int value)

Sets the specified value to the sType field.

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

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate