Package org.lwjgl.vulkan
Class VkMutableDescriptorTypeCreateInfoVALVE
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkMutableDescriptorTypeCreateInfoVALVE
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkMutableDescriptorTypeCreateInfoVALVE extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the list of possible active descriptor types for mutable type descriptors.Description
If
mutableDescriptorTypeListCountis zero or if this structure is not included in thepNextchain, theVkMutableDescriptorTypeListVALVEfor each element is considered to be zero orNULLfor each member. Otherwise, the descriptor set layout binding atVkDescriptorSetLayoutCreateInfo::pBindings[i] uses the descriptor type lists inVkMutableDescriptorTypeCreateInfoVALVE::pMutableDescriptorTypeLists[i].Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_VALVE- If
mutableDescriptorTypeListCountis not 0,pMutableDescriptorTypeListsmust be a valid pointer to an array ofmutableDescriptorTypeListCountvalidVkMutableDescriptorTypeListVALVEstructures
See Also
VkMutableDescriptorTypeListVALVELayout
struct VkMutableDescriptorTypeCreateInfoVALVE { VkStructureTypesType(); void const *pNext(); uint32_tmutableDescriptorTypeListCount();VkMutableDescriptorTypeListVALVEconst *pMutableDescriptorTypeLists(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkMutableDescriptorTypeCreateInfoVALVE.BufferAn array ofVkMutableDescriptorTypeCreateInfoVALVEstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMUTABLEDESCRIPTORTYPELISTCOUNT
PMUTABLEDESCRIPTORTYPELISTS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkMutableDescriptorTypeCreateInfoVALVE(java.nio.ByteBuffer container)Creates aVkMutableDescriptorTypeCreateInfoVALVEinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkMutableDescriptorTypeCreateInfoVALVEcalloc()Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated withmemCalloc.static VkMutableDescriptorTypeCreateInfoVALVE.Buffercalloc(int capacity)Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated withmemCalloc.static VkMutableDescriptorTypeCreateInfoVALVE.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMutableDescriptorTypeCreateInfoVALVEcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMutableDescriptorTypeCreateInfoVALVEcreate()Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated withBufferUtils.static VkMutableDescriptorTypeCreateInfoVALVE.Buffercreate(int capacity)Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated withBufferUtils.static VkMutableDescriptorTypeCreateInfoVALVEcreate(long address)Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance for the specified memory address.static VkMutableDescriptorTypeCreateInfoVALVE.Buffercreate(long address, int capacity)Create aVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance at the specified memory.static VkMutableDescriptorTypeCreateInfoVALVEcreateSafe(long address)static VkMutableDescriptorTypeCreateInfoVALVE.BuffercreateSafe(long address, int capacity)static VkMutableDescriptorTypeCreateInfoVALVEmalloc()Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated withmemAlloc.static VkMutableDescriptorTypeCreateInfoVALVE.Buffermalloc(int capacity)Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated withmemAlloc.static VkMutableDescriptorTypeCreateInfoVALVE.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStack.static VkMutableDescriptorTypeCreateInfoVALVEmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated on the specifiedMemoryStack.intmutableDescriptorTypeListCount()the number of elements inpMutableDescriptorTypeLists.static intnmutableDescriptorTypeListCount(long struct)Unsafe version ofmutableDescriptorTypeListCount().static voidnmutableDescriptorTypeListCount(long struct, int value)Sets the specified value to themutableDescriptorTypeListCountfield of the specifiedstruct.static VkMutableDescriptorTypeListVALVE.BuffernpMutableDescriptorTypeLists(long struct)Unsafe version ofpMutableDescriptorTypeLists().static voidnpMutableDescriptorTypeLists(long struct, VkMutableDescriptorTypeListVALVE.Buffer value)Unsafe version ofpMutableDescriptorTypeLists.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.VkMutableDescriptorTypeListVALVE.BufferpMutableDescriptorTypeLists()a pointer to an array ofVkMutableDescriptorTypeListVALVEstructures.VkMutableDescriptorTypeCreateInfoVALVEpMutableDescriptorTypeLists(VkMutableDescriptorTypeListVALVE.Buffer value)Sets the address of the specifiedVkMutableDescriptorTypeListVALVE.Bufferto thepMutableDescriptorTypeLists()field.longpNext()NULLor a pointer to a structure extending this structure.VkMutableDescriptorTypeCreateInfoVALVEpNext(long value)Sets the specified value to thepNext()field.VkMutableDescriptorTypeCreateInfoVALVEset(int sType, long pNext, VkMutableDescriptorTypeListVALVE.Buffer pMutableDescriptorTypeLists)Initializes this struct with the specified values.VkMutableDescriptorTypeCreateInfoVALVEset(VkMutableDescriptorTypeCreateInfoVALVE src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkMutableDescriptorTypeCreateInfoVALVEsType(int value)Sets the specified value to thesType()field.VkMutableDescriptorTypeCreateInfoVALVEsType$Default()Sets theSTRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_VALVEvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkMutableDescriptorTypeCreateInfoVALVE
public VkMutableDescriptorTypeCreateInfoVALVE(java.nio.ByteBuffer container)
Creates aVkMutableDescriptorTypeCreateInfoVALVEinstance 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.
-
mutableDescriptorTypeListCount
public int mutableDescriptorTypeListCount()
the number of elements inpMutableDescriptorTypeLists.
-
pMutableDescriptorTypeLists
@Nullable public VkMutableDescriptorTypeListVALVE.Buffer pMutableDescriptorTypeLists()
a pointer to an array ofVkMutableDescriptorTypeListVALVEstructures.
-
sType
public VkMutableDescriptorTypeCreateInfoVALVE sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkMutableDescriptorTypeCreateInfoVALVE sType$Default()
Sets theSTRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_VALVEvalue to thesType()field.
-
pNext
public VkMutableDescriptorTypeCreateInfoVALVE pNext(long value)
Sets the specified value to thepNext()field.
-
pMutableDescriptorTypeLists
public VkMutableDescriptorTypeCreateInfoVALVE pMutableDescriptorTypeLists(@Nullable VkMutableDescriptorTypeListVALVE.Buffer value)
Sets the address of the specifiedVkMutableDescriptorTypeListVALVE.Bufferto thepMutableDescriptorTypeLists()field.
-
set
public VkMutableDescriptorTypeCreateInfoVALVE set(int sType, long pNext, @Nullable VkMutableDescriptorTypeListVALVE.Buffer pMutableDescriptorTypeLists)
Initializes this struct with the specified values.
-
set
public VkMutableDescriptorTypeCreateInfoVALVE set(VkMutableDescriptorTypeCreateInfoVALVE src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkMutableDescriptorTypeCreateInfoVALVE malloc()
Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkMutableDescriptorTypeCreateInfoVALVE calloc()
Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkMutableDescriptorTypeCreateInfoVALVE create()
Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated withBufferUtils.
-
create
public static VkMutableDescriptorTypeCreateInfoVALVE create(long address)
Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance for the specified memory address.
-
createSafe
@Nullable public static VkMutableDescriptorTypeCreateInfoVALVE createSafe(long address)
-
malloc
public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer malloc(int capacity)
Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer calloc(int capacity)
Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer create(int capacity)
Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer create(long address, int capacity)
Create aVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer createSafe(long address, int capacity)
-
malloc
public static VkMutableDescriptorTypeCreateInfoVALVE malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkMutableDescriptorTypeCreateInfoVALVE calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkMutableDescriptorTypeCreateInfoVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkMutableDescriptorTypeCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkMutableDescriptorTypeCreateInfoVALVE.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkMutableDescriptorTypeCreateInfoVALVE.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().
-
nmutableDescriptorTypeListCount
public static int nmutableDescriptorTypeListCount(long struct)
Unsafe version ofmutableDescriptorTypeListCount().
-
npMutableDescriptorTypeLists
@Nullable public static VkMutableDescriptorTypeListVALVE.Buffer npMutableDescriptorTypeLists(long struct)
Unsafe version ofpMutableDescriptorTypeLists().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nmutableDescriptorTypeListCount
public static void nmutableDescriptorTypeListCount(long struct, int value)Sets the specified value to themutableDescriptorTypeListCountfield of the specifiedstruct.
-
npMutableDescriptorTypeLists
public static void npMutableDescriptorTypeLists(long struct, @Nullable VkMutableDescriptorTypeListVALVE.Buffer value)Unsafe version ofpMutableDescriptorTypeLists.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-