Package org.lwjgl.vulkan
Class VkDescriptorSetLayoutSupport
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDescriptorSetLayoutSupport
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkDescriptorSetLayoutSupportKHR
public class VkDescriptorSetLayoutSupport extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure returning information about whether a descriptor set layout can be supported.Description
supportedis set toTRUEif the descriptor set can be created, or else is set toFALSE.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORTpNextmust beNULLor a pointer to a valid instance ofVkDescriptorSetVariableDescriptorCountLayoutSupport- The
sTypevalue of each struct in thepNextchain must be unique
See Also
GetDescriptorSetLayoutSupport,GetDescriptorSetLayoutSupportKHRLayout
struct VkDescriptorSetLayoutSupport { VkStructureTypesType(); void *pNext(); VkBool32supported(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDescriptorSetLayoutSupport.BufferAn array ofVkDescriptorSetLayoutSupportstructs.
-
Constructor Summary
Constructors Constructor Description VkDescriptorSetLayoutSupport(java.nio.ByteBuffer container)Creates aVkDescriptorSetLayoutSupportinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkDescriptorSetLayoutSupportcalloc()Returns a newVkDescriptorSetLayoutSupportinstance allocated withmemCalloc.static VkDescriptorSetLayoutSupport.Buffercalloc(int capacity)Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated withmemCalloc.static VkDescriptorSetLayoutSupport.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutSupportcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupportinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutSupportcallocStack()Deprecated.static VkDescriptorSetLayoutSupport.BuffercallocStack(int capacity)Deprecated.static VkDescriptorSetLayoutSupport.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDescriptorSetLayoutSupportcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkDescriptorSetLayoutSupportcreate()Returns a newVkDescriptorSetLayoutSupportinstance allocated withBufferUtils.static VkDescriptorSetLayoutSupport.Buffercreate(int capacity)Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated withBufferUtils.static VkDescriptorSetLayoutSupportcreate(long address)Returns a newVkDescriptorSetLayoutSupportinstance for the specified memory address.static VkDescriptorSetLayoutSupport.Buffercreate(long address, int capacity)Create aVkDescriptorSetLayoutSupport.Bufferinstance at the specified memory.static VkDescriptorSetLayoutSupportcreateSafe(long address)static VkDescriptorSetLayoutSupport.BuffercreateSafe(long address, int capacity)static VkDescriptorSetLayoutSupportmalloc()Returns a newVkDescriptorSetLayoutSupportinstance allocated withmemAlloc.static VkDescriptorSetLayoutSupport.Buffermalloc(int capacity)Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated withmemAlloc.static VkDescriptorSetLayoutSupport.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated on the specifiedMemoryStack.static VkDescriptorSetLayoutSupportmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupportinstance allocated on the specifiedMemoryStack.static VkDescriptorSetLayoutSupportmallocStack()Deprecated.static VkDescriptorSetLayoutSupport.BuffermallocStack(int capacity)Deprecated.static VkDescriptorSetLayoutSupport.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDescriptorSetLayoutSupportmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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.static intnsupported(long struct)Unsafe version ofsupported().longpNext()NULLor a pointer to a structure extending this structure.VkDescriptorSetLayoutSupportpNext(long value)Sets the specified value to thepNext()field.VkDescriptorSetLayoutSupportpNext(VkDescriptorSetVariableDescriptorCountLayoutSupport value)Prepends the specifiedVkDescriptorSetVariableDescriptorCountLayoutSupportvalue to thepNextchain.VkDescriptorSetLayoutSupportpNext(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT value)Prepends the specifiedVkDescriptorSetVariableDescriptorCountLayoutSupportEXTvalue to thepNextchain.VkDescriptorSetLayoutSupportset(int sType, long pNext)Initializes this struct with the specified values.VkDescriptorSetLayoutSupportset(VkDescriptorSetLayoutSupport src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkDescriptorSetLayoutSupportsType(int value)Sets the specified value to thesType()field.VkDescriptorSetLayoutSupportsType$Default()Sets theSTRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORTvalue to thesType()field.booleansupported()specifies whether the descriptor set layout can be created.
-
-
-
Constructor Detail
-
VkDescriptorSetLayoutSupport
public VkDescriptorSetLayoutSupport(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutSupportinstance 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.
-
supported
public boolean supported()
specifies whether the descriptor set layout can be created.
-
sType
public VkDescriptorSetLayoutSupport sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkDescriptorSetLayoutSupport sType$Default()
Sets theSTRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORTvalue to thesType()field.
-
pNext
public VkDescriptorSetLayoutSupport pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkDescriptorSetLayoutSupport pNext(VkDescriptorSetVariableDescriptorCountLayoutSupport value)
Prepends the specifiedVkDescriptorSetVariableDescriptorCountLayoutSupportvalue to thepNextchain.
-
pNext
public VkDescriptorSetLayoutSupport pNext(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT value)
Prepends the specifiedVkDescriptorSetVariableDescriptorCountLayoutSupportEXTvalue to thepNextchain.
-
set
public VkDescriptorSetLayoutSupport set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkDescriptorSetLayoutSupport set(VkDescriptorSetLayoutSupport src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDescriptorSetLayoutSupport malloc()
Returns a newVkDescriptorSetLayoutSupportinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDescriptorSetLayoutSupport calloc()
Returns a newVkDescriptorSetLayoutSupportinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDescriptorSetLayoutSupport create()
Returns a newVkDescriptorSetLayoutSupportinstance allocated withBufferUtils.
-
create
public static VkDescriptorSetLayoutSupport create(long address)
Returns a newVkDescriptorSetLayoutSupportinstance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorSetLayoutSupport createSafe(long address)
-
malloc
public static VkDescriptorSetLayoutSupport.Buffer malloc(int capacity)
Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDescriptorSetLayoutSupport.Buffer calloc(int capacity)
Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetLayoutSupport.Buffer create(int capacity)
Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetLayoutSupport.Buffer create(long address, int capacity)
Create aVkDescriptorSetLayoutSupport.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDescriptorSetLayoutSupport.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkDescriptorSetLayoutSupport mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetLayoutSupport callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDescriptorSetLayoutSupport mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetLayoutSupport callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDescriptorSetLayoutSupport.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDescriptorSetLayoutSupport.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDescriptorSetLayoutSupport.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 VkDescriptorSetLayoutSupport.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkDescriptorSetLayoutSupport malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDescriptorSetLayoutSupport calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDescriptorSetLayoutSupport.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupport.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDescriptorSetLayoutSupport.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupport.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().
-
nsupported
public static int nsupported(long struct)
Unsafe version ofsupported().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-