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.NativeResource
Structure describing inline uniform block features that can be supported by an implementation.Description
If the
VkPhysicalDeviceInlineUniformBlockFeaturesEXT
structure is included in thepNext
chain ofVkPhysicalDeviceFeatures2
, it is filled with values indicating whether each feature is supported.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
can also be used in thepNext
chain ofVkDeviceCreateInfo
to 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_EXT
must 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_EXT
must 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 class
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
An array ofVkPhysicalDeviceInlineUniformBlockFeaturesEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND
INLINEUNIFORMBLOCK
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceInlineUniformBlockFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInlineUniformBlockFeaturesEXT
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 VkPhysicalDeviceInlineUniformBlockFeaturesEXT
calloc()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated withmemCalloc
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
callocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
create()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated withBufferUtils
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
create(long address)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance for the specified memory address.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance at the specified memory.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
createSafe(long address)
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
createSafe(long address, int capacity)
boolean
descriptorBindingInlineUniformBlockUpdateAfterBind()
Returns the value of thedescriptorBindingInlineUniformBlockUpdateAfterBind
field.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)
Sets the specified value to thedescriptorBindingInlineUniformBlockUpdateAfterBind
field.boolean
inlineUniformBlock()
Returns the value of theinlineUniformBlock
field.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
inlineUniformBlock(boolean value)
Sets the specified value to theinlineUniformBlock
field.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
malloc()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated withmemAlloc
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
mallocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceInlineUniformBlockFeaturesEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the specifiedMemoryStack
.static int
ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct)
Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind()
.static void
ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct, int value)
Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind
.static int
ninlineUniformBlock(long struct)
Unsafe version ofinlineUniformBlock()
.static void
ninlineUniformBlock(long struct, int value)
Unsafe version ofinlineUniformBlock
.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.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
set(int sType, long pNext, boolean inlineUniformBlock, boolean descriptorBindingInlineUniformBlockUpdateAfterBind)
Initializes this struct with the specified values.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
set(VkPhysicalDeviceInlineUniformBlockFeaturesEXT src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPhysicalDeviceInlineUniformBlockFeaturesEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceInlineUniformBlockFeaturesEXT
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInlineUniformBlockFeaturesEXT
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.
-
inlineUniformBlock
public boolean inlineUniformBlock()
Returns the value of theinlineUniformBlock
field.
-
descriptorBindingInlineUniformBlockUpdateAfterBind
public boolean descriptorBindingInlineUniformBlockUpdateAfterBind()
Returns the value of thedescriptorBindingInlineUniformBlockUpdateAfterBind
field.
-
sType
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT pNext(long value)
Sets the specified value to thepNext
field.
-
inlineUniformBlock
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT inlineUniformBlock(boolean value)
Sets the specified value to theinlineUniformBlock
field.
-
descriptorBindingInlineUniformBlockUpdateAfterBind
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)
Sets the specified value to thedescriptorBindingInlineUniformBlockUpdateAfterBind
field.
-
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 newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT calloc()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT create()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance 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 newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT callocStack()
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.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()
.
-
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
.
-
-