Package org.lwjgl.vulkan
Class VkDescriptorSetLayoutSupportKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDescriptorSetLayoutSupport
-
- org.lwjgl.vulkan.VkDescriptorSetLayoutSupportKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDescriptorSetLayoutSupportKHR extends VkDescriptorSetLayoutSupport
SeeVkDescriptorSetLayoutSupport.Layout
struct VkDescriptorSetLayoutSupportKHR { VkStructureType sType; void * pNext; VkBool32 supported; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDescriptorSetLayoutSupportKHR.BufferAn array ofVkDescriptorSetLayoutSupportKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkDescriptorSetLayoutSupportKHR(java.nio.ByteBuffer container)Creates aVkDescriptorSetLayoutSupportKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDescriptorSetLayoutSupportKHRcalloc()Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated withmemCalloc.static VkDescriptorSetLayoutSupportKHR.Buffercalloc(int capacity)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated withmemCalloc.static VkDescriptorSetLayoutSupportKHRcallocStack()Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHR.BuffercallocStack(int capacity)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHRcreate()Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated withBufferUtils.static VkDescriptorSetLayoutSupportKHR.Buffercreate(int capacity)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated withBufferUtils.static VkDescriptorSetLayoutSupportKHRcreate(long address)Returns a newVkDescriptorSetLayoutSupportKHRinstance for the specified memory address.static VkDescriptorSetLayoutSupportKHR.Buffercreate(long address, int capacity)Create aVkDescriptorSetLayoutSupportKHR.Bufferinstance at the specified memory.static VkDescriptorSetLayoutSupportKHRcreateSafe(long address)static VkDescriptorSetLayoutSupportKHR.BuffercreateSafe(long address, int capacity)static VkDescriptorSetLayoutSupportKHRmalloc()Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated withmemAlloc.static VkDescriptorSetLayoutSupportKHR.Buffermalloc(int capacity)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated withmemAlloc.static VkDescriptorSetLayoutSupportKHRmallocStack()Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the thread-localMemoryStack.static VkDescriptorSetLayoutSupportKHR.BuffermallocStack(int capacity)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkDescriptorSetLayoutSupportKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDescriptorSetLayoutSupportKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the specifiedMemoryStack.VkDescriptorSetLayoutSupportKHRpNext(long value)Sets the specified value to thepNextfield.VkDescriptorSetLayoutSupportKHRset(int sType, long pNext)Initializes this struct with the specified values.VkDescriptorSetLayoutSupportKHRset(VkDescriptorSetLayoutSupportKHR src)Copies the specified struct data to this struct.VkDescriptorSetLayoutSupportKHRsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkDescriptorSetLayoutSupportKHR
public VkDescriptorSetLayoutSupportKHR(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutSupportKHRinstance 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 VkDescriptorSetLayoutSupportKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDescriptorSetLayoutSupport
-
pNext
public VkDescriptorSetLayoutSupportKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDescriptorSetLayoutSupport
-
set
public VkDescriptorSetLayoutSupportKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkDescriptorSetLayoutSupport
-
set
public VkDescriptorSetLayoutSupportKHR set(VkDescriptorSetLayoutSupportKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDescriptorSetLayoutSupportKHR malloc()
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDescriptorSetLayoutSupportKHR calloc()
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDescriptorSetLayoutSupportKHR create()
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated withBufferUtils.
-
create
public static VkDescriptorSetLayoutSupportKHR create(long address)
Returns a newVkDescriptorSetLayoutSupportKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorSetLayoutSupportKHR createSafe(long address)
-
malloc
public static VkDescriptorSetLayoutSupportKHR.Buffer malloc(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDescriptorSetLayoutSupportKHR.Buffer calloc(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetLayoutSupportKHR.Buffer create(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorSetLayoutSupportKHR.Buffer create(long address, int capacity)
Create aVkDescriptorSetLayoutSupportKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDescriptorSetLayoutSupportKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDescriptorSetLayoutSupportKHR mallocStack()
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDescriptorSetLayoutSupportKHR callocStack()
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDescriptorSetLayoutSupportKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDescriptorSetLayoutSupportKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDescriptorSetLayoutSupportKHR.Buffer mallocStack(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDescriptorSetLayoutSupportKHR.Buffer callocStack(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDescriptorSetLayoutSupportKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDescriptorSetLayoutSupportKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-