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 class
VkDescriptorSetLayoutSupportKHR.Buffer
An array ofVkDescriptorSetLayoutSupportKHR
structs.
-
Constructor Summary
Constructors Constructor Description VkDescriptorSetLayoutSupportKHR(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutSupportKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDescriptorSetLayoutSupportKHR
calloc()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated withmemCalloc
.static VkDescriptorSetLayoutSupportKHR.Buffer
calloc(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated withmemCalloc
.static VkDescriptorSetLayoutSupportKHR
callocStack()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHR.Buffer
callocStack(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorSetLayoutSupportKHR
create()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated withBufferUtils
.static VkDescriptorSetLayoutSupportKHR.Buffer
create(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated withBufferUtils
.static VkDescriptorSetLayoutSupportKHR
create(long address)
Returns a newVkDescriptorSetLayoutSupportKHR
instance for the specified memory address.static VkDescriptorSetLayoutSupportKHR.Buffer
create(long address, int capacity)
Create aVkDescriptorSetLayoutSupportKHR.Buffer
instance at the specified memory.static VkDescriptorSetLayoutSupportKHR
createSafe(long address)
static VkDescriptorSetLayoutSupportKHR.Buffer
createSafe(long address, int capacity)
static VkDescriptorSetLayoutSupportKHR
malloc()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated withmemAlloc
.static VkDescriptorSetLayoutSupportKHR.Buffer
malloc(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated withmemAlloc
.static VkDescriptorSetLayoutSupportKHR
mallocStack()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the thread-localMemoryStack
.static VkDescriptorSetLayoutSupportKHR.Buffer
mallocStack(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkDescriptorSetLayoutSupportKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDescriptorSetLayoutSupportKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the specifiedMemoryStack
.VkDescriptorSetLayoutSupportKHR
pNext(long value)
Sets the specified value to thepNext
field.VkDescriptorSetLayoutSupportKHR
set(int sType, long pNext)
Initializes this struct with the specified values.VkDescriptorSetLayoutSupportKHR
set(VkDescriptorSetLayoutSupportKHR src)
Copies the specified struct data to this struct.VkDescriptorSetLayoutSupportKHR
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkDescriptorSetLayoutSupportKHR
public VkDescriptorSetLayoutSupportKHR(java.nio.ByteBuffer container)
Creates aVkDescriptorSetLayoutSupportKHR
instance at the current position of the specifiedByteBuffer
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
-
sType
public VkDescriptorSetLayoutSupportKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDescriptorSetLayoutSupport
-
pNext
public VkDescriptorSetLayoutSupportKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDescriptorSetLayoutSupport
-
set
public VkDescriptorSetLayoutSupportKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
set
in 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 newVkDescriptorSetLayoutSupportKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDescriptorSetLayoutSupportKHR calloc()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDescriptorSetLayoutSupportKHR create()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated withBufferUtils
.
-
create
public static VkDescriptorSetLayoutSupportKHR create(long address)
Returns a newVkDescriptorSetLayoutSupportKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorSetLayoutSupportKHR createSafe(long address)
-
malloc
public static VkDescriptorSetLayoutSupportKHR.Buffer malloc(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDescriptorSetLayoutSupportKHR.Buffer calloc(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorSetLayoutSupportKHR.Buffer create(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorSetLayoutSupportKHR.Buffer create(long address, int capacity)
Create aVkDescriptorSetLayoutSupportKHR.Buffer
instance 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 newVkDescriptorSetLayoutSupportKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDescriptorSetLayoutSupportKHR callocStack()
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDescriptorSetLayoutSupportKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDescriptorSetLayoutSupportKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorSetLayoutSupportKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDescriptorSetLayoutSupportKHR.Buffer callocStack(int capacity)
Returns a newVkDescriptorSetLayoutSupportKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-