public class VkPhysicalDeviceInlineUniformBlockFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceInlineUniformBlockFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceInlineUniformBlockFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
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 with DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT.
struct VkPhysicalDeviceInlineUniformBlockFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 inlineUniformBlock;
VkBool32 descriptorBindingInlineUniformBlockUpdateAfterBind;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer
An array of
VkPhysicalDeviceInlineUniformBlockFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND
The struct member offsets.
|
static int |
INLINEUNIFORMBLOCK
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceInlineUniformBlockFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.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 the
descriptorBindingInlineUniformBlockUpdateAfterBind field. |
VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)
Sets the specified value to the
descriptorBindingInlineUniformBlockUpdateAfterBind field. |
boolean |
inlineUniformBlock()
Returns the value of the
inlineUniformBlock field. |
VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
inlineUniformBlock(boolean value)
Sets the specified value to the
inlineUniformBlock field. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct)
Unsafe version of
descriptorBindingInlineUniformBlockUpdateAfterBind(). |
static void |
ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct,
int value)
Unsafe version of
descriptorBindingInlineUniformBlockUpdateAfterBind. |
static int |
ninlineUniformBlock(long struct)
Unsafe version of
inlineUniformBlock(). |
static void |
ninlineUniformBlock(long struct,
int value)
Unsafe version of
inlineUniformBlock. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext 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 the
sType field. |
VkPhysicalDeviceInlineUniformBlockFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int INLINEUNIFORMBLOCK
public static final int DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean inlineUniformBlock()
inlineUniformBlock field.public boolean descriptorBindingInlineUniformBlockUpdateAfterBind()
descriptorBindingInlineUniformBlockUpdateAfterBind field.public VkPhysicalDeviceInlineUniformBlockFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceInlineUniformBlockFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceInlineUniformBlockFeaturesEXT inlineUniformBlock(boolean value)
inlineUniformBlock field.public VkPhysicalDeviceInlineUniformBlockFeaturesEXT descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)
descriptorBindingInlineUniformBlockUpdateAfterBind field.public VkPhysicalDeviceInlineUniformBlockFeaturesEXT set(int sType, long pNext, boolean inlineUniformBlock, boolean descriptorBindingInlineUniformBlockUpdateAfterBind)
public VkPhysicalDeviceInlineUniformBlockFeaturesEXT set(VkPhysicalDeviceInlineUniformBlockFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT malloc()
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT calloc()
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT create()
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT create(long address)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT mallocStack()
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT callocStack()
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceInlineUniformBlockFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceInlineUniformBlockFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ninlineUniformBlock(long struct)
inlineUniformBlock().public static int ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct)
descriptorBindingInlineUniformBlockUpdateAfterBind().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ninlineUniformBlock(long struct,
int value)
inlineUniformBlock.public static void ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct,
int value)
descriptorBindingInlineUniformBlockUpdateAfterBind.Copyright LWJGL. All Rights Reserved. License terms.