public class VkPipelineLayoutCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
setLayoutCount must be less than or equal to VkPhysicalDeviceLimits::maxBoundDescriptorSetsDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_SAMPLER and DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxPerStageDescriptorSamplersDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER and DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxPerStageDescriptorUniformBuffersDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_STORAGE_BUFFER and DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxPerStageDescriptorStorageBuffersDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, and DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxPerStageDescriptorSampledImagesDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_STORAGE_IMAGE, and DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxPerStageDescriptorStorageImagesDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_INPUT_ATTACHMENT accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxPerStageDescriptorInputAttachmentsDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceInlineUniformBlockPropertiesEXT::maxPerStageDescriptorInlineUniformBlocksdescriptorType of DESCRIPTOR_TYPE_SAMPLER and DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxPerStageDescriptorUpdateAfterBindSamplersdescriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER and DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxPerStageDescriptorUpdateAfterBindUniformBuffersdescriptorType of DESCRIPTOR_TYPE_STORAGE_BUFFER and DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxPerStageDescriptorUpdateAfterBindStorageBuffersdescriptorType of DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, and DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxPerStageDescriptorUpdateAfterBindSampledImagesdescriptorType of DESCRIPTOR_TYPE_STORAGE_IMAGE, and DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxPerStageDescriptorUpdateAfterBindStorageImagesdescriptorType of DESCRIPTOR_TYPE_INPUT_ATTACHMENT accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxPerStageDescriptorUpdateAfterBindInputAttachmentsdescriptorType of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceInlineUniformBlockPropertiesEXT::maxPerStageDescriptorUpdateAfterBindInlineUniformBlocksDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_SAMPLER and DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetSamplersDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetUniformBuffersDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetUniformBuffersDynamicDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_STORAGE_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetStorageBuffersDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetStorageBuffersDynamicDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, and DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetSampledImagesDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_STORAGE_IMAGE, and DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetStorageImagesDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_INPUT_ATTACHMENT accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceLimits::maxDescriptorSetInputAttachmentsDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set with a descriptorType of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceInlineUniformBlockPropertiesEXT::maxDescriptorSetInlineUniformBlocksDESCRIPTOR_TYPE_SAMPLER and DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindSamplersDESCRIPTOR_TYPE_UNIFORM_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindUniformBuffersDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindUniformBuffersDynamicDESCRIPTOR_TYPE_STORAGE_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindStorageBuffersDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindStorageBuffersDynamicDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, and DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindSampledImagesDESCRIPTOR_TYPE_STORAGE_IMAGE, and DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindStorageImagesDESCRIPTOR_TYPE_INPUT_ATTACHMENT accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingPropertiesEXT::maxDescriptorSetUpdateAfterBindInputAttachmentsdescriptorType of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceInlineUniformBlockPropertiesEXT::maxDescriptorSetUpdateAfterBindInlineUniformBlockspPushConstantRanges must not include the same stage in stageFlagspSetLayouts must not contain more than one descriptor set layout that was created with DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR setdescriptorType of DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceRayTracingPropertiesNV::maxDescriptorSetAccelerationStructuressType must be STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFOpNext must be NULLflags must be 0setLayoutCount is not 0, pSetLayouts must be a valid pointer to an array of setLayoutCount valid VkDescriptorSetLayout handlespushConstantRangeCount is not 0, pPushConstantRanges must be a valid pointer to an array of pushConstantRangeCount valid VkPushConstantRange structuresVkPushConstantRange, CreatePipelineLayout
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.setLayoutCount – the number of descriptor sets included in the pipeline layout.pSetLayouts – a pointer to an array of VkDescriptorSetLayout objects.pushConstantRangeCount – the number of push constant ranges included in the pipeline layout.pPushConstantRanges – a pointer to an array of VkPushConstantRange structures defining a set of push constant ranges for use in a single pipeline layout. In addition to descriptor set layouts, a pipeline layout also describes how many push constants can be accessed by each stage of the pipeline.
Push constants represent a high speed path to modify constant data in pipelines that is expected to outperform memory-backed resource updates.
struct VkPipelineLayoutCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineLayoutCreateFlags flags;
uint32_t setLayoutCount;
VkDescriptorSetLayout const * pSetLayouts;
uint32_t pushConstantRangeCount;
VkPushConstantRange const * pPushConstantRanges;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineLayoutCreateInfo.Buffer
An array of
VkPipelineLayoutCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PPUSHCONSTANTRANGES
The struct member offsets.
|
static int |
PSETLAYOUTS
The struct member offsets.
|
static int |
PUSHCONSTANTRANGECOUNT
The struct member offsets.
|
static int |
SETLAYOUTCOUNT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineLayoutCreateInfo(java.nio.ByteBuffer container)
Creates a
VkPipelineLayoutCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineLayoutCreateInfo |
calloc()
Returns a new
VkPipelineLayoutCreateInfo instance allocated with memCalloc. |
static VkPipelineLayoutCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated with memCalloc. |
static VkPipelineLayoutCreateInfo |
callocStack()
Returns a new
VkPipelineLayoutCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineLayoutCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineLayoutCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineLayoutCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineLayoutCreateInfo |
create()
Returns a new
VkPipelineLayoutCreateInfo instance allocated with BufferUtils. |
static VkPipelineLayoutCreateInfo.Buffer |
create(int capacity)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated with BufferUtils. |
static VkPipelineLayoutCreateInfo |
create(long address)
Returns a new
VkPipelineLayoutCreateInfo instance for the specified memory address. |
static VkPipelineLayoutCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkPipelineLayoutCreateInfo.Buffer instance at the specified memory. |
static VkPipelineLayoutCreateInfo |
createSafe(long address)
|
static VkPipelineLayoutCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkPipelineLayoutCreateInfo |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineLayoutCreateInfo |
malloc()
Returns a new
VkPipelineLayoutCreateInfo instance allocated with memAlloc. |
static VkPipelineLayoutCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated with memAlloc. |
static VkPipelineLayoutCreateInfo |
mallocStack()
Returns a new
VkPipelineLayoutCreateInfo instance allocated on the thread-local MemoryStack. |
static VkPipelineLayoutCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineLayoutCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineLayoutCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineLayoutCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static VkPushConstantRange.Buffer |
npPushConstantRanges(long struct)
Unsafe version of
pPushConstantRanges(). |
static void |
npPushConstantRanges(long struct,
VkPushConstantRange.Buffer value)
Unsafe version of
pPushConstantRanges. |
static java.nio.LongBuffer |
npSetLayouts(long struct)
Unsafe version of
pSetLayouts. |
static void |
npSetLayouts(long struct,
java.nio.LongBuffer value)
Unsafe version of
pSetLayouts. |
static int |
npushConstantRangeCount(long struct)
Unsafe version of
pushConstantRangeCount(). |
static void |
npushConstantRangeCount(long struct,
int value)
Sets the specified value to the
pushConstantRangeCount field of the specified struct. |
static int |
nsetLayoutCount(long struct)
Unsafe version of
setLayoutCount(). |
static void |
nsetLayoutCount(long struct,
int value)
Sets the specified value to the
setLayoutCount field of the specified struct. |
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. |
VkPipelineLayoutCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPushConstantRange.Buffer |
pPushConstantRanges()
Returns a
VkPushConstantRange.Buffer view of the struct array pointed to by the pPushConstantRanges field. |
VkPipelineLayoutCreateInfo |
pPushConstantRanges(VkPushConstantRange.Buffer value)
Sets the address of the specified
VkPushConstantRange.Buffer to the pPushConstantRanges field. |
java.nio.LongBuffer |
pSetLayouts()
Returns a
LongBuffer view of the data pointed to by the pSetLayouts field. |
VkPipelineLayoutCreateInfo |
pSetLayouts(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pSetLayouts field. |
int |
pushConstantRangeCount()
Returns the value of the
pushConstantRangeCount field. |
VkPipelineLayoutCreateInfo |
set(int sType,
long pNext,
int flags,
java.nio.LongBuffer pSetLayouts,
VkPushConstantRange.Buffer pPushConstantRanges)
Initializes this struct with the specified values.
|
VkPipelineLayoutCreateInfo |
set(VkPipelineLayoutCreateInfo src)
Copies the specified struct data to this struct.
|
int |
setLayoutCount()
Returns the value of the
setLayoutCount field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineLayoutCreateInfo |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int FLAGS
public static final int SETLAYOUTCOUNT
public static final int PSETLAYOUTS
public static final int PUSHCONSTANTRANGECOUNT
public static final int PPUSHCONSTANTRANGES
public VkPipelineLayoutCreateInfo(java.nio.ByteBuffer container)
VkPipelineLayoutCreateInfo 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 flags()
flags field.public int setLayoutCount()
setLayoutCount field.@Nullable public java.nio.LongBuffer pSetLayouts()
LongBuffer view of the data pointed to by the pSetLayouts field.public int pushConstantRangeCount()
pushConstantRangeCount field.@Nullable public VkPushConstantRange.Buffer pPushConstantRanges()
VkPushConstantRange.Buffer view of the struct array pointed to by the pPushConstantRanges field.public VkPipelineLayoutCreateInfo sType(int value)
sType field.public VkPipelineLayoutCreateInfo pNext(long value)
pNext field.public VkPipelineLayoutCreateInfo flags(int value)
flags field.public VkPipelineLayoutCreateInfo pSetLayouts(@Nullable java.nio.LongBuffer value)
LongBuffer to the pSetLayouts field.public VkPipelineLayoutCreateInfo pPushConstantRanges(@Nullable VkPushConstantRange.Buffer value)
VkPushConstantRange.Buffer to the pPushConstantRanges field.public VkPipelineLayoutCreateInfo set(int sType, long pNext, int flags, @Nullable java.nio.LongBuffer pSetLayouts, @Nullable VkPushConstantRange.Buffer pPushConstantRanges)
public VkPipelineLayoutCreateInfo set(VkPipelineLayoutCreateInfo src)
src - the source structpublic static VkPipelineLayoutCreateInfo malloc()
VkPipelineLayoutCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineLayoutCreateInfo calloc()
VkPipelineLayoutCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineLayoutCreateInfo create()
VkPipelineLayoutCreateInfo instance allocated with BufferUtils.public static VkPipelineLayoutCreateInfo create(long address)
VkPipelineLayoutCreateInfo instance for the specified memory address.@Nullable public static VkPipelineLayoutCreateInfo createSafe(long address)
public static VkPipelineLayoutCreateInfo.Buffer malloc(int capacity)
VkPipelineLayoutCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineLayoutCreateInfo.Buffer calloc(int capacity)
VkPipelineLayoutCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineLayoutCreateInfo.Buffer create(int capacity)
VkPipelineLayoutCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineLayoutCreateInfo.Buffer create(long address, int capacity)
VkPipelineLayoutCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineLayoutCreateInfo.Buffer createSafe(long address, int capacity)
public static VkPipelineLayoutCreateInfo mallocStack()
VkPipelineLayoutCreateInfo instance allocated on the thread-local MemoryStack.public static VkPipelineLayoutCreateInfo callocStack()
VkPipelineLayoutCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineLayoutCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineLayoutCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineLayoutCreateInfo.Buffer mallocStack(int capacity)
VkPipelineLayoutCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineLayoutCreateInfo.Buffer callocStack(int capacity)
VkPipelineLayoutCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineLayoutCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineLayoutCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineLayoutCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineLayoutCreateInfo.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 nflags(long struct)
flags().public static int nsetLayoutCount(long struct)
setLayoutCount().@Nullable public static java.nio.LongBuffer npSetLayouts(long struct)
pSetLayouts.public static int npushConstantRangeCount(long struct)
pushConstantRangeCount().@Nullable public static VkPushConstantRange.Buffer npPushConstantRanges(long struct)
pPushConstantRanges().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nflags(long struct,
int value)
flags.public static void nsetLayoutCount(long struct,
int value)
setLayoutCount field of the specified struct.public static void npSetLayouts(long struct,
@Nullable
java.nio.LongBuffer value)
pSetLayouts.public static void npushConstantRangeCount(long struct,
int value)
pushConstantRangeCount field of the specified struct.public static void npPushConstantRanges(long struct,
@Nullable
VkPushConstantRange.Buffer value)
pPushConstantRanges.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.