Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkDescriptorSetLayoutBinding

extends Struct<VkDescriptorSetLayoutBinding>
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 a descriptor set layout binding.
Description

The above layout definition allows the descriptor bindings to be specified sparsely such that not all binding numbers between 0 and the maximum binding number need to be specified in the pBindings array. Bindings that are not specified have a descriptorCount and stageFlags of zero, and the value of descriptorType is undefined. However, all binding numbers between 0 and the maximum binding number in the VkDescriptorSetLayoutCreateInfo::pBindings array may consume memory in the descriptor set layout even if not all descriptor bindings are used, though it should not consume additional memory from the descriptor pool.

Note

The maximum binding number specified should be as compact as possible to avoid wasted memory.

Valid Usage
Valid Usage (Implicit)
See Also

VkDescriptorSetLayoutCreateInfo

Layout


struct VkDescriptorSetLayoutBinding {
    uint32_t binding;
    VkDescriptorType descriptorType;
    uint32_t descriptorCount;
    VkShaderStageFlags stageFlags;
    VkSampler const * pImmutableSamplers;
}

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
BINDING

The struct member offsets.

public static final int
DESCRIPTORCOUNT

The struct member offsets.

public static final int
DESCRIPTORTYPE

The struct member offsets.

public static final int
PIMMUTABLESAMPLERS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STAGEFLAGS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
VkDescriptorSetLayoutBinding(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public int
binding()

the binding number of this entry and corresponds to a resource of the same binding number in the shader stages.

public VkDescriptorSetLayoutBinding
binding(int value)

Sets the specified value to the binding field.

public static VkDescriptorSetLayoutBinding
calloc()

Returns a new VkDescriptorSetLayoutBinding instance allocated with memCalloc.

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

Returns a new VkDescriptorSetLayoutBinding.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkDescriptorSetLayoutBinding
callocStack()

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

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

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

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

Returns a new VkDescriptorSetLayoutBinding instance allocated with BufferUtils.

public static VkDescriptorSetLayoutBinding
create(long address)

Returns a new VkDescriptorSetLayoutBinding instance for the specified memory address.

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

Returns a new VkDescriptorSetLayoutBinding.Buffer instance allocated with BufferUtils.

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

Create a VkDescriptorSetLayoutBinding.Buffer instance at the specified memory.

public static VkDescriptorSetLayoutBinding
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
descriptorCount()

the number of descriptors contained in the binding, accessed in a shader as an array, except if descriptorType is DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK in which case descriptorCount is the size in bytes of the inline uniform block.

public VkDescriptorSetLayoutBinding
descriptorCount(int value)

Sets the specified value to the descriptorCount field.

public int
descriptorType()

a VkDescriptorType specifying which type of resource descriptors are used for this binding.

public VkDescriptorSetLayoutBinding
descriptorType(int value)

Sets the specified value to the descriptorType field.

public static VkDescriptorSetLayoutBinding
malloc()

Returns a new VkDescriptorSetLayoutBinding instance allocated with memAlloc.

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

Returns a new VkDescriptorSetLayoutBinding.Buffer instance allocated with memAlloc.

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

Returns a new VkDescriptorSetLayoutBinding instance allocated on the specified MemoryStack.

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

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

public static VkDescriptorSetLayoutBinding
mallocStack()

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

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

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

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

Unsafe version of binding.

public static void
nbinding(long struct, int value)

Unsafe version of binding.

public static int
ndescriptorCount(long struct)

Unsafe version of descriptorCount.

public static void
ndescriptorCount(long struct, int value)

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

public static int
ndescriptorType(long struct)

Unsafe version of descriptorType.

public static void
ndescriptorType(long struct, int value)

Unsafe version of descriptorType.

public static LongBuffer
npImmutableSamplers(long struct)

Unsafe version of pImmutableSamplers.

public static void
npImmutableSamplers(long struct, LongBuffer value)

Unsafe version of pImmutableSamplers.

public static int
nstageFlags(long struct)

Unsafe version of stageFlags.

public static void
nstageFlags(long struct, int value)

Unsafe version of stageFlags.

public LongBuffer
pImmutableSamplers()

affects initialization of samplers.

public VkDescriptorSetLayoutBinding
pImmutableSamplers(LongBuffer value)

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

public VkDescriptorSetLayoutBinding
set(int binding, int descriptorType, int descriptorCount, int stageFlags, LongBuffer pImmutableSamplers)

Initializes this struct with the specified values.

public VkDescriptorSetLayoutBinding

Returns:

this struct
set
(VkDescriptorSetLayoutBinding
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
stageFlags()

member is a bitmask of VkShaderStageFlagBits specifying which pipeline shader stages can access a resource for this binding.

public VkDescriptorSetLayoutBinding
stageFlags(int value)

Sets the specified value to the stageFlags field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BINDINGback to summary
public static final int BINDING

The struct member offsets.

DESCRIPTORCOUNTback to summary
public static final int DESCRIPTORCOUNT

The struct member offsets.

DESCRIPTORTYPEback to summary
public static final int DESCRIPTORTYPE

The struct member offsets.

PIMMUTABLESAMPLERSback to summary
public static final int PIMMUTABLESAMPLERS

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STAGEFLAGSback to summary
public static final int STAGEFLAGS

The struct member offsets.

Constructor Detail

VkDescriptorSetLayoutBindingback to summary
protected VkDescriptorSetLayoutBinding(long address, ByteBuffer container)
VkDescriptorSetLayoutBindingback to summary
public VkDescriptorSetLayoutBinding(ByteBuffer container)

Creates a VkDescriptorSetLayoutBinding 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.

Method Detail

bindingback to summary
public int binding()

the binding number of this entry and corresponds to a resource of the same binding number in the shader stages.

Annotations
@NativeType:uint32_t
bindingback to summary
public VkDescriptorSetLayoutBinding binding(int value)

Sets the specified value to the binding field.

callocback to summary
public static VkDescriptorSetLayoutBinding calloc()

Returns a new VkDescriptorSetLayoutBinding instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkDescriptorSetLayoutBinding.Buffer calloc(int capacity)

Returns a new VkDescriptorSetLayoutBinding.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkDescriptorSetLayoutBinding calloc(MemoryStack stack)

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

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkDescriptorSetLayoutBinding.Buffer calloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkDescriptorSetLayoutBinding callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkDescriptorSetLayoutBinding callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkDescriptorSetLayoutBinding.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkDescriptorSetLayoutBinding.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VkDescriptorSetLayoutBinding create(long address, ByteBuffer container)

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

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkDescriptorSetLayoutBinding create()

Returns a new VkDescriptorSetLayoutBinding instance allocated with BufferUtils.

createback to summary
public static VkDescriptorSetLayoutBinding create(long address)

Returns a new VkDescriptorSetLayoutBinding instance for the specified memory address.

createback to summary
public static VkDescriptorSetLayoutBinding.Buffer create(int capacity)

Returns a new VkDescriptorSetLayoutBinding.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkDescriptorSetLayoutBinding.Buffer create(long address, int capacity)

Create a VkDescriptorSetLayoutBinding.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkDescriptorSetLayoutBinding createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkDescriptorSetLayoutBinding.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
descriptorCountback to summary
public int descriptorCount()

the number of descriptors contained in the binding, accessed in a shader as an array, except if descriptorType is DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK in which case descriptorCount is the size in bytes of the inline uniform block. If descriptorCount is zero this binding entry is reserved and the resource must not be accessed from any stage via this binding within any pipeline using the set layout.

Annotations
@NativeType:uint32_t
descriptorCountback to summary
public VkDescriptorSetLayoutBinding descriptorCount(int value)

Sets the specified value to the descriptorCount field.

descriptorTypeback to summary
public int descriptorType()

a VkDescriptorType specifying which type of resource descriptors are used for this binding.

Annotations
@NativeType:VkDescriptorType
descriptorTypeback to summary
public VkDescriptorSetLayoutBinding descriptorType(int value)

Sets the specified value to the descriptorType field.

mallocback to summary
public static VkDescriptorSetLayoutBinding malloc()

Returns a new VkDescriptorSetLayoutBinding instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkDescriptorSetLayoutBinding.Buffer malloc(int capacity)

Returns a new VkDescriptorSetLayoutBinding.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkDescriptorSetLayoutBinding malloc(MemoryStack stack)

Returns a new VkDescriptorSetLayoutBinding instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkDescriptorSetLayoutBinding.Buffer malloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkDescriptorSetLayoutBinding mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkDescriptorSetLayoutBinding mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkDescriptorSetLayoutBinding.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkDescriptorSetLayoutBinding.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
nbindingback to summary
public static int nbinding(long struct)

Unsafe version of binding.

nbindingback to summary
public static void nbinding(long struct, int value)

Unsafe version of binding.

ndescriptorCountback to summary
public static int ndescriptorCount(long struct)

Unsafe version of descriptorCount.

ndescriptorCountback to summary
public static void ndescriptorCount(long struct, int value)

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

ndescriptorTypeback to summary
public static int ndescriptorType(long struct)

Unsafe version of descriptorType.

ndescriptorTypeback to summary
public static void ndescriptorType(long struct, int value)

Unsafe version of descriptorType.

npImmutableSamplersback to summary
public static LongBuffer npImmutableSamplers(long struct)

Unsafe version of pImmutableSamplers.

Annotations
@Nullable
npImmutableSamplersback to summary
public static void npImmutableSamplers(long struct, LongBuffer value)

Unsafe version of pImmutableSamplers.

nstageFlagsback to summary
public static int nstageFlags(long struct)

Unsafe version of stageFlags.

nstageFlagsback to summary
public static void nstageFlags(long struct, int value)

Unsafe version of stageFlags.

pImmutableSamplersback to summary
public LongBuffer pImmutableSamplers()

affects initialization of samplers. If descriptorType specifies a DESCRIPTOR_TYPE_SAMPLER or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER type descriptor, then pImmutableSamplers can be used to initialize a set of immutable samplers. Immutable samplers are permanently bound into the set layout and must not be changed; updating a DESCRIPTOR_TYPE_SAMPLER descriptor with immutable samplers is not allowed and updates to a DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptor with immutable samplers does not modify the samplers (the image views are updated, but the sampler updates are ignored). If pImmutableSamplers is not NULL, then it is a pointer to an array of sampler handles that will be copied into the set layout and used for the corresponding binding. Only the sampler handles are copied; the sampler objects must not be destroyed before the final use of the set layout and any descriptor pools and sets created using it. If pImmutableSamplers is NULL, then the sampler slots are dynamic and sampler handles must be bound into descriptor sets using this layout. If descriptorType is not one of these descriptor types, then pImmutableSamplers is ignored.

Annotations
@Nullable
@NativeType:VkSampler const *
pImmutableSamplersback to summary
public VkDescriptorSetLayoutBinding pImmutableSamplers(LongBuffer value)

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

setback to summary
public VkDescriptorSetLayoutBinding set(int binding, int descriptorType, int descriptorCount, int stageFlags, LongBuffer pImmutableSamplers)

Initializes this struct with the specified values.

setback to summary
public VkDescriptorSetLayoutBinding set(VkDescriptorSetLayoutBinding src)

Copies the specified struct data to this struct.

Parameters
src:VkDescriptorSetLayoutBinding

the source struct

Returns:VkDescriptorSetLayoutBinding

this struct

sizeofback to summary
public int sizeof()

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

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
stageFlagsback to summary
public int stageFlags()

member is a bitmask of VkShaderStageFlagBits specifying which pipeline shader stages can access a resource for this binding. SHADER_STAGE_ALL is a shorthand specifying that all defined shader stages, including any additional stages defined by extensions, can access the resource.

If a shader stage is not included in stageFlags, then a resource must not be accessed from that stage via this binding within any pipeline using the set layout. Other than input attachments which are limited to the fragment shader, there are no limitations on what combinations of stages can use a descriptor binding, and in particular a binding can be used by both graphics stages and the compute stage.

Annotations
@NativeType:VkShaderStageFlags
stageFlagsback to summary
public VkDescriptorSetLayoutBinding stageFlags(int value)

Sets the specified value to the stageFlags field.

org.lwjgl.vulkan back to summary

public Class VkDescriptorSetLayoutBinding.Buffer

extends StructBuffer<VkDescriptorSetLayoutBinding, VkDescriptorSetLayoutBinding.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkDescriptorSetLayoutBinding structs.

Field Summary

Modifier and TypeField and Description
private static final VkDescriptorSetLayoutBinding

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkDescriptorSetLayoutBinding.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the VkDescriptorSetLayoutBinding#binding field.
binding
()

public VkDescriptorSetLayoutBinding.Buffer
binding(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#binding field.

public int
public VkDescriptorSetLayoutBinding.Buffer
descriptorCount(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#descriptorCount field.

public int
public VkDescriptorSetLayoutBinding.Buffer
descriptorType(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#descriptorType field.

protected VkDescriptorSetLayoutBinding
public LongBuffer

Returns:

a LongBuffer view of the data pointed to by the VkDescriptorSetLayoutBinding#pImmutableSamplers field.
pImmutableSamplers
()

public VkDescriptorSetLayoutBinding.Buffer
pImmutableSamplers(LongBuffer value)

Sets the address of the specified LongBuffer to the VkDescriptorSetLayoutBinding#pImmutableSamplers field.

protected VkDescriptorSetLayoutBinding.Buffer
public int

Returns:

the value of the VkDescriptorSetLayoutBinding#stageFlags field.
stageFlags
()

public VkDescriptorSetLayoutBinding.Buffer
stageFlags(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#stageFlags field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkDescriptorSetLayoutBinding ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkDescriptorSetLayoutBinding.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkDescriptorSetLayoutBinding#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bindingback to summary
public int binding()
Returns:int

the value of the VkDescriptorSetLayoutBinding#binding field.

Annotations
@NativeType:uint32_t
bindingback to summary
public VkDescriptorSetLayoutBinding.Buffer binding(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#binding field.

descriptorCountback to summary
public int descriptorCount()
Returns:int

the value of the VkDescriptorSetLayoutBinding#descriptorCount field.

Annotations
@NativeType:uint32_t
descriptorCountback to summary
public VkDescriptorSetLayoutBinding.Buffer descriptorCount(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#descriptorCount field.

descriptorTypeback to summary
public int descriptorType()
Returns:int

the value of the VkDescriptorSetLayoutBinding#descriptorType field.

Annotations
@NativeType:VkDescriptorType
descriptorTypeback to summary
public VkDescriptorSetLayoutBinding.Buffer descriptorType(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#descriptorType field.

getElementFactoryback to summary
protected VkDescriptorSetLayoutBinding getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
pImmutableSamplersback to summary
public LongBuffer pImmutableSamplers()
Returns:LongBuffer

a LongBuffer view of the data pointed to by the VkDescriptorSetLayoutBinding#pImmutableSamplers field.

Annotations
@Nullable
@NativeType:VkSampler const *
pImmutableSamplersback to summary
public VkDescriptorSetLayoutBinding.Buffer pImmutableSamplers(LongBuffer value)

Sets the address of the specified LongBuffer to the VkDescriptorSetLayoutBinding#pImmutableSamplers field.

selfback to summary
protected VkDescriptorSetLayoutBinding.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
stageFlagsback to summary
public int stageFlags()
Returns:int

the value of the VkDescriptorSetLayoutBinding#stageFlags field.

Annotations
@NativeType:VkShaderStageFlags
stageFlagsback to summary
public VkDescriptorSetLayoutBinding.Buffer stageFlags(int value)

Sets the specified value to the VkDescriptorSetLayoutBinding#stageFlags field.