Package org.lwjgl.vulkan
Class VkDescriptorSetVariableDescriptorCountLayoutSupportEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDescriptorSetVariableDescriptorCountLayoutSupport
-
- org.lwjgl.vulkan.VkDescriptorSetVariableDescriptorCountLayoutSupportEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDescriptorSetVariableDescriptorCountLayoutSupportEXT extends VkDescriptorSetVariableDescriptorCountLayoutSupport
SeeVkDescriptorSetVariableDescriptorCountLayoutSupport.Layout
struct VkDescriptorSetVariableDescriptorCountLayoutSupportEXT { VkStructureType sType; void * pNext; uint32_t maxVariableDescriptorCount; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.BufferAn array ofVkDescriptorSetVariableDescriptorCountLayoutSupportEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkDescriptorSetVariableDescriptorCountLayoutSupport
ALIGNOF, MAXVARIABLEDESCRIPTORCOUNT, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(java.nio.ByteBuffer container)Creates aVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
-
Methods inherited from class org.lwjgl.vulkan.VkDescriptorSetVariableDescriptorCountLayoutSupport
maxVariableDescriptorCount, nmaxVariableDescriptorCount, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(java.nio.ByteBuffer container)
Creates aVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance 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
-
sType
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDescriptorSetVariableDescriptorCountLayoutSupport
-
sType$Default
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT sType$Default()
Sets theSTRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORTvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDescriptorSetVariableDescriptorCountLayoutSupport
-
pNext
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDescriptorSetVariableDescriptorCountLayoutSupport
-
set
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkDescriptorSetVariableDescriptorCountLayoutSupport
-
set
public VkDescriptorSetVariableDescriptorCountLayoutSupportEXT set(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT malloc()
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT calloc()
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT create()
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance allocated withBufferUtils.
-
create
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT create(long address)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT createSafe(long address)
-
malloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer malloc(int capacity)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer calloc(int capacity)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer create(int capacity)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer create(long address, int capacity)
Create aVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetVariableDescriptorCountLayoutSupportEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-