Package org.lwjgl.vulkan
Class VkPhysicalDeviceInlineUniformBlockFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceInlineUniformBlockFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing inline uniform block features that can be supported by an implementation.Description
If the
VkPhysicalDeviceInlineUniformBlockFeaturesEXTstructure is included in thepNextchain ofVkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported.VkPhysicalDeviceInlineUniformBlockFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto enable features.Valid Usage (Implicit)
Member documentation
inlineUniformBlock– indicates whether the implementation supports inline uniform block descriptors. If this feature is not enabled,DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXTmust not be used.descriptorBindingInlineUniformBlockUpdateAfterBind– indicates whether the implementation supports updating inline uniform block descriptors after a set is bound. If this feature is not enabled,DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTmust not be used withDESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT.
Layout
struct VkPhysicalDeviceInlineUniformBlockFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 inlineUniformBlock; VkBool32 descriptorBindingInlineUniformBlockUpdateAfterBind; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceInlineUniformBlockFeaturesEXT.BufferAn array ofVkPhysicalDeviceInlineUniformBlockFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND
INLINEUNIFORMBLOCK
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceInlineUniformBlockFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceInlineUniformBlockFeaturesEXTcalloc()Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTcallocStack()Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTcreate()Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.BuffercreateSafe(long address, int capacity)booleandescriptorBindingInlineUniformBlockUpdateAfterBind()Returns the value of thedescriptorBindingInlineUniformBlockUpdateAfterBindfield.VkPhysicalDeviceInlineUniformBlockFeaturesEXTdescriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)Sets the specified value to thedescriptorBindingInlineUniformBlockUpdateAfterBindfield.booleaninlineUniformBlock()Returns the value of theinlineUniformBlockfield.VkPhysicalDeviceInlineUniformBlockFeaturesEXTinlineUniformBlock(boolean value)Sets the specified value to theinlineUniformBlockfield.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTmalloc()Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTmallocStack()Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceInlineUniformBlockFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the specifiedMemoryStack.static intndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct)Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind().static voidndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct, int value)Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind.static intninlineUniformBlock(long struct)Unsafe version ofinlineUniformBlock().static voidninlineUniformBlock(long struct, int value)Unsafe version ofinlineUniformBlock.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()Returns the value of thepNextfield.VkPhysicalDeviceInlineUniformBlockFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceInlineUniformBlockFeaturesEXTset(int sType, long pNext, boolean inlineUniformBlock, boolean descriptorBindingInlineUniformBlockUpdateAfterBind)Initializes this struct with the specified values.VkPhysicalDeviceInlineUniformBlockFeaturesEXTset(VkPhysicalDeviceInlineUniformBlockFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPhysicalDeviceInlineUniformBlockFeaturesEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceInlineUniformBlockFeaturesEXT
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance 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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
inlineUniformBlock
public boolean inlineUniformBlock()
Returns the value of theinlineUniformBlockfield.
-
descriptorBindingInlineUniformBlockUpdateAfterBind
public boolean descriptorBindingInlineUniformBlockUpdateAfterBind()
Returns the value of thedescriptorBindingInlineUniformBlockUpdateAfterBindfield.
-
sType
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
inlineUniformBlock
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT inlineUniformBlock(boolean value)
Sets the specified value to theinlineUniformBlockfield.
-
descriptorBindingInlineUniformBlockUpdateAfterBind
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)
Sets the specified value to thedescriptorBindingInlineUniformBlockUpdateAfterBindfield.
-
set
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT set(int sType, long pNext, boolean inlineUniformBlock, boolean descriptorBindingInlineUniformBlockUpdateAfterBind)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT set(VkPhysicalDeviceInlineUniformBlockFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT malloc()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT calloc()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT create()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT mallocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT callocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.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().
-
ninlineUniformBlock
public static int ninlineUniformBlock(long struct)
Unsafe version ofinlineUniformBlock().
-
ndescriptorBindingInlineUniformBlockUpdateAfterBind
public static int ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct)
Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ninlineUniformBlock
public static void ninlineUniformBlock(long struct, int value)Unsafe version ofinlineUniformBlock.
-
ndescriptorBindingInlineUniformBlockUpdateAfterBind
public static void ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct, int value)Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind.
-
-