Package org.lwjgl.vulkan
Class VkPhysicalDeviceInlineUniformBlockProperties
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceInlineUniformBlockProperties
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceInlineUniformBlockPropertiesEXT
public class VkPhysicalDeviceInlineUniformBlockProperties extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing inline uniform block properties that can be supported by an implementation.Description
If the
VkPhysicalDeviceInlineUniformBlockPropertiesstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceInlineUniformBlockProperties { VkStructureTypesType(); void *pNext(); uint32_tmaxInlineUniformBlockSize(); uint32_t maxPerStageDescriptorInlineUniformBlocks; uint32_tmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(); uint32_tmaxDescriptorSetInlineUniformBlocks(); uint32_tmaxDescriptorSetUpdateAfterBindInlineUniformBlocks(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceInlineUniformBlockProperties.BufferAn array ofVkPhysicalDeviceInlineUniformBlockPropertiesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXDESCRIPTORSETINLINEUNIFORMBLOCKS
MAXDESCRIPTORSETUPDATEAFTERBINDINLINEUNIFORMBLOCKS
MAXINLINEUNIFORMBLOCKSIZE
MAXPERSTAGEDESCRIPTORINLINEUNIFORMBLOCKS
MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDINLINEUNIFORMBLOCKS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceInlineUniformBlockProperties(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceInlineUniformBlockPropertiesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceInlineUniformBlockPropertiescalloc()Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated withmemCalloc.static VkPhysicalDeviceInlineUniformBlockProperties.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceInlineUniformBlockProperties.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockPropertiescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockPropertiescreate()Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated withBufferUtils.static VkPhysicalDeviceInlineUniformBlockProperties.Buffercreate(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceInlineUniformBlockPropertiescreate(long address)Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance for the specified memory address.static VkPhysicalDeviceInlineUniformBlockProperties.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance at the specified memory.static VkPhysicalDeviceInlineUniformBlockPropertiescreateSafe(long address)static VkPhysicalDeviceInlineUniformBlockProperties.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceInlineUniformBlockPropertiesmalloc()Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated withmemAlloc.static VkPhysicalDeviceInlineUniformBlockProperties.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceInlineUniformBlockProperties.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceInlineUniformBlockPropertiesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated on the specifiedMemoryStack.intmaxDescriptorSetInlineUniformBlocks()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.intmaxDescriptorSetUpdateAfterBindInlineUniformBlocks()similar tomaxDescriptorSetInlineUniformBlocksbut counts descriptor bindings from descriptor sets created with or without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITbit set.intmaxInlineUniformBlockSize()the maximum size in bytes of an inline uniform block binding.intmaxPerStageDescriptorInlineUniformBlocks()intmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks()similar tomaxPerStageDescriptorInlineUniformBlocksbut counts descriptor bindings from descriptor sets created with or without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITbit set.static intnmaxDescriptorSetInlineUniformBlocks(long struct)Unsafe version ofmaxDescriptorSetInlineUniformBlocks().static intnmaxDescriptorSetUpdateAfterBindInlineUniformBlocks(long struct)Unsafe version ofmaxDescriptorSetUpdateAfterBindInlineUniformBlocks().static intnmaxInlineUniformBlockSize(long struct)Unsafe version ofmaxInlineUniformBlockSize().static intnmaxPerStageDescriptorInlineUniformBlocks(long struct)Unsafe version ofmaxPerStageDescriptorInlineUniformBlocks().static intnmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(long struct)Unsafe version ofmaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks().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.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceInlineUniformBlockPropertiespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceInlineUniformBlockPropertiesset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceInlineUniformBlockPropertiesset(VkPhysicalDeviceInlineUniformBlockProperties src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceInlineUniformBlockPropertiessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceInlineUniformBlockPropertiessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIESvalue 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
-
VkPhysicalDeviceInlineUniformBlockProperties
public VkPhysicalDeviceInlineUniformBlockProperties(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInlineUniformBlockPropertiesinstance 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.
-
maxInlineUniformBlockSize
public int maxInlineUniformBlockSize()
the maximum size in bytes of an inline uniform block binding.
-
maxPerStageDescriptorInlineUniformBlocks
public int maxPerStageDescriptorInlineUniformBlocks()
- Returns:
- the value of the
maxPerStageDescriptorInlineUniformBlocksfield.
-
maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public int maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks()
similar tomaxPerStageDescriptorInlineUniformBlocksbut counts descriptor bindings from descriptor sets created with or without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITbit set.
-
maxDescriptorSetInlineUniformBlocks
public int 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_BLOCKcount against this limit. Only descriptor bindings in descriptor set layouts created without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITbit set count against this limit.
-
maxDescriptorSetUpdateAfterBindInlineUniformBlocks
public int maxDescriptorSetUpdateAfterBindInlineUniformBlocks()
similar tomaxDescriptorSetInlineUniformBlocksbut counts descriptor bindings from descriptor sets created with or without theDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BITbit set.
-
sType
public VkPhysicalDeviceInlineUniformBlockProperties sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceInlineUniformBlockProperties sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceInlineUniformBlockProperties pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceInlineUniformBlockProperties set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceInlineUniformBlockProperties set(VkPhysicalDeviceInlineUniformBlockProperties src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceInlineUniformBlockProperties malloc()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceInlineUniformBlockProperties calloc()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceInlineUniformBlockProperties create()
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceInlineUniformBlockProperties create(long address)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockProperties createSafe(long address)
-
malloc
public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer create(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceInlineUniformBlockProperties malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceInlineUniformBlockProperties calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockProperties.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceInlineUniformBlockProperties.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockProperties.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().
-
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.
-
-