Package org.lwjgl.vulkan
Class VkPhysicalDeviceInlineUniformBlockPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceInlineUniformBlockPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceInlineUniformBlockPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing inline uniform block properties that can be supported by an implementation.Description
If the
VkPhysicalDeviceInlineUniformBlockPropertiesEXT
structure is included in thepNext
chain ofVkPhysicalDeviceProperties2
, it is filled with the implementation-dependent limits.Valid Usage (Implicit)
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.maxInlineUniformBlockSize
– the maximum size in bytes of an inline uniform block binding.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
– similar tomaxPerStageDescriptorInlineUniformBlocks
but counts descriptor bindings from descriptor sets created with or without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT
bit set.maxDescriptorSetInlineUniformBlocks
– the maximum number of inline uniform block bindings that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptor bindings with a descriptor type ofDESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT
count against this limit. Only descriptor bindings in descriptor set layouts created without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT
bit set count against this limit.maxDescriptorSetUpdateAfterBindInlineUniformBlocks
– similar tomaxDescriptorSetInlineUniformBlocks
but counts descriptor bindings from descriptor sets created with or without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT
bit set.
Layout
struct VkPhysicalDeviceInlineUniformBlockPropertiesEXT { VkStructureType sType; void * pNext; uint32_t maxInlineUniformBlockSize; uint32_t maxPerStageDescriptorInlineUniformBlocks; uint32_t maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks; uint32_t maxDescriptorSetInlineUniformBlocks; uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
An array ofVkPhysicalDeviceInlineUniformBlockPropertiesEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
MAXDESCRIPTORSETINLINEUNIFORMBLOCKS
MAXDESCRIPTORSETUPDATEAFTERBINDINLINEUNIFORMBLOCKS
MAXINLINEUNIFORMBLOCKSIZE
MAXPERSTAGEDESCRIPTORINLINEUNIFORMBLOCKS
MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDINLINEUNIFORMBLOCKS
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceInlineUniformBlockPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInlineUniformBlockPropertiesEXT
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 VkPhysicalDeviceInlineUniformBlockPropertiesEXT
calloc()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated withmemCalloc
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
callocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
create()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated withBufferUtils
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
create(long address)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance for the specified memory address.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance at the specified memory.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
createSafe(long address)
static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
malloc()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated withmemAlloc
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
mallocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceInlineUniformBlockPropertiesEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the specifiedMemoryStack
.int
maxDescriptorSetInlineUniformBlocks()
Returns the value of themaxDescriptorSetInlineUniformBlocks
field.int
maxDescriptorSetUpdateAfterBindInlineUniformBlocks()
Returns the value of themaxDescriptorSetUpdateAfterBindInlineUniformBlocks
field.int
maxInlineUniformBlockSize()
Returns the value of themaxInlineUniformBlockSize
field.int
maxPerStageDescriptorInlineUniformBlocks()
Returns the value of themaxPerStageDescriptorInlineUniformBlocks
field.int
maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks()
Returns the value of themaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
field.static int
nmaxDescriptorSetInlineUniformBlocks(long struct)
Unsafe version ofmaxDescriptorSetInlineUniformBlocks()
.static int
nmaxDescriptorSetUpdateAfterBindInlineUniformBlocks(long struct)
Unsafe version ofmaxDescriptorSetUpdateAfterBindInlineUniformBlocks()
.static int
nmaxInlineUniformBlockSize(long struct)
Unsafe version ofmaxInlineUniformBlockSize()
.static int
nmaxPerStageDescriptorInlineUniformBlocks(long struct)
Unsafe version ofmaxPerStageDescriptorInlineUniformBlocks()
.static int
nmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(long struct)
Unsafe version ofmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks()
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceInlineUniformBlockPropertiesEXT
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceInlineUniformBlockPropertiesEXT
set(int sType, long pNext)
Initializes this struct with the specified values.VkPhysicalDeviceInlineUniformBlockPropertiesEXT
set(VkPhysicalDeviceInlineUniformBlockPropertiesEXT src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPhysicalDeviceInlineUniformBlockPropertiesEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, MAXINLINEUNIFORMBLOCKSIZE, MAXPERSTAGEDESCRIPTORINLINEUNIFORMBLOCKS, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDINLINEUNIFORMBLOCKS, MAXDESCRIPTORSETINLINEUNIFORMBLOCKS, MAXDESCRIPTORSETUPDATEAFTERBINDINLINEUNIFORMBLOCKS
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceInlineUniformBlockPropertiesEXT
public VkPhysicalDeviceInlineUniformBlockPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInlineUniformBlockPropertiesEXT
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
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
maxInlineUniformBlockSize
public int maxInlineUniformBlockSize()
Returns the value of themaxInlineUniformBlockSize
field.
-
maxPerStageDescriptorInlineUniformBlocks
public int maxPerStageDescriptorInlineUniformBlocks()
Returns the value of themaxPerStageDescriptorInlineUniformBlocks
field.
-
maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public int maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks()
Returns the value of themaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
field.
-
maxDescriptorSetInlineUniformBlocks
public int maxDescriptorSetInlineUniformBlocks()
Returns the value of themaxDescriptorSetInlineUniformBlocks
field.
-
maxDescriptorSetUpdateAfterBindInlineUniformBlocks
public int maxDescriptorSetUpdateAfterBindInlineUniformBlocks()
Returns the value of themaxDescriptorSetUpdateAfterBindInlineUniformBlocks
field.
-
sType
public VkPhysicalDeviceInlineUniformBlockPropertiesEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceInlineUniformBlockPropertiesEXT pNext(long value)
Sets the specified value to thepNext
field.
-
set
public VkPhysicalDeviceInlineUniformBlockPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceInlineUniformBlockPropertiesEXT set(VkPhysicalDeviceInlineUniformBlockPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT malloc()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT calloc()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT create()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT mallocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT callocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and 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()
.
-
nmaxInlineUniformBlockSize
public static int nmaxInlineUniformBlockSize(long struct)
Unsafe version ofmaxInlineUniformBlockSize()
.
-
nmaxPerStageDescriptorInlineUniformBlocks
public static int nmaxPerStageDescriptorInlineUniformBlocks(long struct)
Unsafe version ofmaxPerStageDescriptorInlineUniformBlocks()
.
-
nmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public static int nmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(long struct)
Unsafe version ofmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks()
.
-
nmaxDescriptorSetInlineUniformBlocks
public static int nmaxDescriptorSetInlineUniformBlocks(long struct)
Unsafe version ofmaxDescriptorSetInlineUniformBlocks()
.
-
nmaxDescriptorSetUpdateAfterBindInlineUniformBlocks
public static int nmaxDescriptorSetUpdateAfterBindInlineUniformBlocks(long struct)
Unsafe version ofmaxDescriptorSetUpdateAfterBindInlineUniformBlocks()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
-