public class VkObjectTableCreateInfoNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
VkDeviceGeneratedCommandsFeaturesNVX::computeBindingPointSupport feature is not enabled, pObjectEntryUsageFlags must not contain OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVXpObjectEntryCounts must not exceed VkDeviceGeneratedCommandsLimitsNVX::maxObjectEntryCountsmaxUniformBuffersPerDescriptor must be within the limits supported by the device.maxStorageBuffersPerDescriptor must be within the limits supported by the device.maxStorageImagesPerDescriptor must be within the limits supported by the device.maxSampledImagesPerDescriptor must be within the limits supported by the device.sType must be STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVXpNext must be NULLpObjectEntryTypes must be a valid pointer to an array of objectCount valid VkObjectEntryTypeNVX valuespObjectEntryCounts must be a valid pointer to an array of objectCount uint32_t valuespObjectEntryUsageFlags must be a valid pointer to an array of objectCount valid combinations of VkObjectEntryUsageFlagBitsNVX valuespObjectEntryUsageFlags must not be 0objectCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.objectCount – the number of entry configurations that the object table supports.pObjectEntryTypes – a pointer to an array of VkObjectEntryTypeNVX values providing the entry type of a given configuration.pObjectEntryCounts – a pointer to an array of counts of how many objects can be registered in the table.pObjectEntryUsageFlags – a pointer to an array of bitmasks of VkObjectEntryUsageFlagBitsNVX specifying the binding usage of the entry.maxUniformBuffersPerDescriptor – the maximum number of DESCRIPTOR_TYPE_UNIFORM_BUFFER or DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC used by any single registered VkDescriptorSet in this table.maxStorageBuffersPerDescriptor – the maximum number of DESCRIPTOR_TYPE_STORAGE_BUFFER or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC used by any single registered VkDescriptorSet in this table.maxStorageImagesPerDescriptor – the maximum number of DESCRIPTOR_TYPE_STORAGE_IMAGE or DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER used by any single registered VkDescriptorSet in this table.maxSampledImagesPerDescriptor – the maximum number of DESCRIPTOR_TYPE_SAMPLER, DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER or DESCRIPTOR_TYPE_INPUT_ATTACHMENT used by any single registered VkDescriptorSet in this table.maxPipelineLayouts – the maximum number of unique VkPipelineLayout used by any registered VkDescriptorSet or VkPipeline in this table.
struct VkObjectTableCreateInfoNVX {
VkStructureType sType;
void const * pNext;
uint32_t objectCount;
VkObjectEntryTypeNVX const * pObjectEntryTypes;
uint32_t const * pObjectEntryCounts;
VkObjectEntryUsageFlagsNVX const * pObjectEntryUsageFlags;
uint32_t maxUniformBuffersPerDescriptor;
uint32_t maxStorageBuffersPerDescriptor;
uint32_t maxStorageImagesPerDescriptor;
uint32_t maxSampledImagesPerDescriptor;
uint32_t maxPipelineLayouts;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkObjectTableCreateInfoNVX.Buffer
An array of
VkObjectTableCreateInfoNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXPIPELINELAYOUTS
The struct member offsets.
|
static int |
MAXSAMPLEDIMAGESPERDESCRIPTOR
The struct member offsets.
|
static int |
MAXSTORAGEBUFFERSPERDESCRIPTOR
The struct member offsets.
|
static int |
MAXSTORAGEIMAGESPERDESCRIPTOR
The struct member offsets.
|
static int |
MAXUNIFORMBUFFERSPERDESCRIPTOR
The struct member offsets.
|
static int |
OBJECTCOUNT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
POBJECTENTRYCOUNTS
The struct member offsets.
|
static int |
POBJECTENTRYTYPES
The struct member offsets.
|
static int |
POBJECTENTRYUSAGEFLAGS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkObjectTableCreateInfoNVX(java.nio.ByteBuffer container)
Creates a
VkObjectTableCreateInfoNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkObjectTableCreateInfoNVX |
calloc()
Returns a new
VkObjectTableCreateInfoNVX instance allocated with memCalloc. |
static VkObjectTableCreateInfoNVX.Buffer |
calloc(int capacity)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated with memCalloc. |
static VkObjectTableCreateInfoNVX |
callocStack()
Returns a new
VkObjectTableCreateInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTableCreateInfoNVX.Buffer |
callocStack(int capacity)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTableCreateInfoNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTableCreateInfoNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableCreateInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTableCreateInfoNVX |
create()
Returns a new
VkObjectTableCreateInfoNVX instance allocated with BufferUtils. |
static VkObjectTableCreateInfoNVX.Buffer |
create(int capacity)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated with BufferUtils. |
static VkObjectTableCreateInfoNVX |
create(long address)
Returns a new
VkObjectTableCreateInfoNVX instance for the specified memory address. |
static VkObjectTableCreateInfoNVX.Buffer |
create(long address,
int capacity)
Create a
VkObjectTableCreateInfoNVX.Buffer instance at the specified memory. |
static VkObjectTableCreateInfoNVX |
createSafe(long address)
|
static VkObjectTableCreateInfoNVX.Buffer |
createSafe(long address,
int capacity)
|
static VkObjectTableCreateInfoNVX |
malloc()
Returns a new
VkObjectTableCreateInfoNVX instance allocated with memAlloc. |
static VkObjectTableCreateInfoNVX.Buffer |
malloc(int capacity)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated with memAlloc. |
static VkObjectTableCreateInfoNVX |
mallocStack()
Returns a new
VkObjectTableCreateInfoNVX instance allocated on the thread-local MemoryStack. |
static VkObjectTableCreateInfoNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkObjectTableCreateInfoNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableCreateInfoNVX.Buffer instance allocated on the specified MemoryStack. |
static VkObjectTableCreateInfoNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTableCreateInfoNVX instance allocated on the specified MemoryStack. |
int |
maxPipelineLayouts()
Returns the value of the
maxPipelineLayouts field. |
VkObjectTableCreateInfoNVX |
maxPipelineLayouts(int value)
Sets the specified value to the
maxPipelineLayouts field. |
int |
maxSampledImagesPerDescriptor()
Returns the value of the
maxSampledImagesPerDescriptor field. |
VkObjectTableCreateInfoNVX |
maxSampledImagesPerDescriptor(int value)
Sets the specified value to the
maxSampledImagesPerDescriptor field. |
int |
maxStorageBuffersPerDescriptor()
Returns the value of the
maxStorageBuffersPerDescriptor field. |
VkObjectTableCreateInfoNVX |
maxStorageBuffersPerDescriptor(int value)
Sets the specified value to the
maxStorageBuffersPerDescriptor field. |
int |
maxStorageImagesPerDescriptor()
Returns the value of the
maxStorageImagesPerDescriptor field. |
VkObjectTableCreateInfoNVX |
maxStorageImagesPerDescriptor(int value)
Sets the specified value to the
maxStorageImagesPerDescriptor field. |
int |
maxUniformBuffersPerDescriptor()
Returns the value of the
maxUniformBuffersPerDescriptor field. |
VkObjectTableCreateInfoNVX |
maxUniformBuffersPerDescriptor(int value)
Sets the specified value to the
maxUniformBuffersPerDescriptor field. |
static int |
nmaxPipelineLayouts(long struct)
Unsafe version of
maxPipelineLayouts(). |
static void |
nmaxPipelineLayouts(long struct,
int value)
Unsafe version of
maxPipelineLayouts. |
static int |
nmaxSampledImagesPerDescriptor(long struct)
Unsafe version of
maxSampledImagesPerDescriptor(). |
static void |
nmaxSampledImagesPerDescriptor(long struct,
int value)
Unsafe version of
maxSampledImagesPerDescriptor. |
static int |
nmaxStorageBuffersPerDescriptor(long struct)
Unsafe version of
maxStorageBuffersPerDescriptor(). |
static void |
nmaxStorageBuffersPerDescriptor(long struct,
int value)
Unsafe version of
maxStorageBuffersPerDescriptor. |
static int |
nmaxStorageImagesPerDescriptor(long struct)
Unsafe version of
maxStorageImagesPerDescriptor(). |
static void |
nmaxStorageImagesPerDescriptor(long struct,
int value)
Unsafe version of
maxStorageImagesPerDescriptor. |
static int |
nmaxUniformBuffersPerDescriptor(long struct)
Unsafe version of
maxUniformBuffersPerDescriptor(). |
static void |
nmaxUniformBuffersPerDescriptor(long struct,
int value)
Unsafe version of
maxUniformBuffersPerDescriptor. |
static int |
nobjectCount(long struct)
Unsafe version of
objectCount(). |
static void |
nobjectCount(long struct,
int value)
Sets the specified value to the
objectCount field of the specified struct. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static java.nio.IntBuffer |
npObjectEntryCounts(long struct)
Unsafe version of
pObjectEntryCounts. |
static void |
npObjectEntryCounts(long struct,
java.nio.IntBuffer value)
Unsafe version of
pObjectEntryCounts. |
static java.nio.IntBuffer |
npObjectEntryTypes(long struct)
Unsafe version of
pObjectEntryTypes. |
static void |
npObjectEntryTypes(long struct,
java.nio.IntBuffer value)
Unsafe version of
pObjectEntryTypes. |
static java.nio.IntBuffer |
npObjectEntryUsageFlags(long struct)
Unsafe version of
pObjectEntryUsageFlags. |
static void |
npObjectEntryUsageFlags(long struct,
java.nio.IntBuffer value)
Unsafe version of
pObjectEntryUsageFlags. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
int |
objectCount()
Returns the value of the
objectCount field. |
VkObjectTableCreateInfoNVX |
objectCount(int value)
Sets the specified value to the
objectCount field. |
long |
pNext()
Returns the value of the
pNext field. |
VkObjectTableCreateInfoNVX |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.IntBuffer |
pObjectEntryCounts()
Returns a
IntBuffer view of the data pointed to by the pObjectEntryCounts field. |
VkObjectTableCreateInfoNVX |
pObjectEntryCounts(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pObjectEntryCounts field. |
java.nio.IntBuffer |
pObjectEntryTypes()
Returns a
IntBuffer view of the data pointed to by the pObjectEntryTypes field. |
VkObjectTableCreateInfoNVX |
pObjectEntryTypes(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pObjectEntryTypes field. |
java.nio.IntBuffer |
pObjectEntryUsageFlags()
Returns a
IntBuffer view of the data pointed to by the pObjectEntryUsageFlags field. |
VkObjectTableCreateInfoNVX |
pObjectEntryUsageFlags(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pObjectEntryUsageFlags field. |
VkObjectTableCreateInfoNVX |
set(int sType,
long pNext,
int objectCount,
java.nio.IntBuffer pObjectEntryTypes,
java.nio.IntBuffer pObjectEntryCounts,
java.nio.IntBuffer pObjectEntryUsageFlags,
int maxUniformBuffersPerDescriptor,
int maxStorageBuffersPerDescriptor,
int maxStorageImagesPerDescriptor,
int maxSampledImagesPerDescriptor,
int maxPipelineLayouts)
Initializes this struct with the specified values.
|
VkObjectTableCreateInfoNVX |
set(VkObjectTableCreateInfoNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkObjectTableCreateInfoNVX |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int OBJECTCOUNT
public static final int POBJECTENTRYTYPES
public static final int POBJECTENTRYCOUNTS
public static final int POBJECTENTRYUSAGEFLAGS
public static final int MAXUNIFORMBUFFERSPERDESCRIPTOR
public static final int MAXSTORAGEBUFFERSPERDESCRIPTOR
public static final int MAXSTORAGEIMAGESPERDESCRIPTOR
public static final int MAXSAMPLEDIMAGESPERDESCRIPTOR
public static final int MAXPIPELINELAYOUTS
public VkObjectTableCreateInfoNVX(java.nio.ByteBuffer container)
VkObjectTableCreateInfoNVX 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 int objectCount()
objectCount field.public java.nio.IntBuffer pObjectEntryTypes()
IntBuffer view of the data pointed to by the pObjectEntryTypes field.public java.nio.IntBuffer pObjectEntryCounts()
IntBuffer view of the data pointed to by the pObjectEntryCounts field.public java.nio.IntBuffer pObjectEntryUsageFlags()
IntBuffer view of the data pointed to by the pObjectEntryUsageFlags field.public int maxUniformBuffersPerDescriptor()
maxUniformBuffersPerDescriptor field.public int maxStorageBuffersPerDescriptor()
maxStorageBuffersPerDescriptor field.public int maxStorageImagesPerDescriptor()
maxStorageImagesPerDescriptor field.public int maxSampledImagesPerDescriptor()
maxSampledImagesPerDescriptor field.public int maxPipelineLayouts()
maxPipelineLayouts field.public VkObjectTableCreateInfoNVX sType(int value)
sType field.public VkObjectTableCreateInfoNVX pNext(long value)
pNext field.public VkObjectTableCreateInfoNVX objectCount(int value)
objectCount field.public VkObjectTableCreateInfoNVX pObjectEntryTypes(java.nio.IntBuffer value)
IntBuffer to the pObjectEntryTypes field.public VkObjectTableCreateInfoNVX pObjectEntryCounts(java.nio.IntBuffer value)
IntBuffer to the pObjectEntryCounts field.public VkObjectTableCreateInfoNVX pObjectEntryUsageFlags(java.nio.IntBuffer value)
IntBuffer to the pObjectEntryUsageFlags field.public VkObjectTableCreateInfoNVX maxUniformBuffersPerDescriptor(int value)
maxUniformBuffersPerDescriptor field.public VkObjectTableCreateInfoNVX maxStorageBuffersPerDescriptor(int value)
maxStorageBuffersPerDescriptor field.public VkObjectTableCreateInfoNVX maxStorageImagesPerDescriptor(int value)
maxStorageImagesPerDescriptor field.public VkObjectTableCreateInfoNVX maxSampledImagesPerDescriptor(int value)
maxSampledImagesPerDescriptor field.public VkObjectTableCreateInfoNVX maxPipelineLayouts(int value)
maxPipelineLayouts field.public VkObjectTableCreateInfoNVX set(int sType, long pNext, int objectCount, java.nio.IntBuffer pObjectEntryTypes, java.nio.IntBuffer pObjectEntryCounts, java.nio.IntBuffer pObjectEntryUsageFlags, int maxUniformBuffersPerDescriptor, int maxStorageBuffersPerDescriptor, int maxStorageImagesPerDescriptor, int maxSampledImagesPerDescriptor, int maxPipelineLayouts)
public VkObjectTableCreateInfoNVX set(VkObjectTableCreateInfoNVX src)
src - the source structpublic static VkObjectTableCreateInfoNVX malloc()
VkObjectTableCreateInfoNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkObjectTableCreateInfoNVX calloc()
VkObjectTableCreateInfoNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkObjectTableCreateInfoNVX create()
VkObjectTableCreateInfoNVX instance allocated with BufferUtils.public static VkObjectTableCreateInfoNVX create(long address)
VkObjectTableCreateInfoNVX instance for the specified memory address.@Nullable public static VkObjectTableCreateInfoNVX createSafe(long address)
public static VkObjectTableCreateInfoNVX.Buffer malloc(int capacity)
VkObjectTableCreateInfoNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTableCreateInfoNVX.Buffer calloc(int capacity)
VkObjectTableCreateInfoNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTableCreateInfoNVX.Buffer create(int capacity)
VkObjectTableCreateInfoNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkObjectTableCreateInfoNVX.Buffer create(long address, int capacity)
VkObjectTableCreateInfoNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkObjectTableCreateInfoNVX.Buffer createSafe(long address, int capacity)
public static VkObjectTableCreateInfoNVX mallocStack()
VkObjectTableCreateInfoNVX instance allocated on the thread-local MemoryStack.public static VkObjectTableCreateInfoNVX callocStack()
VkObjectTableCreateInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkObjectTableCreateInfoNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTableCreateInfoNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkObjectTableCreateInfoNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTableCreateInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkObjectTableCreateInfoNVX.Buffer mallocStack(int capacity)
VkObjectTableCreateInfoNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkObjectTableCreateInfoNVX.Buffer callocStack(int capacity)
VkObjectTableCreateInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkObjectTableCreateInfoNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTableCreateInfoNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkObjectTableCreateInfoNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTableCreateInfoNVX.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 nobjectCount(long struct)
objectCount().public static java.nio.IntBuffer npObjectEntryTypes(long struct)
pObjectEntryTypes.public static java.nio.IntBuffer npObjectEntryCounts(long struct)
pObjectEntryCounts.public static java.nio.IntBuffer npObjectEntryUsageFlags(long struct)
pObjectEntryUsageFlags.public static int nmaxUniformBuffersPerDescriptor(long struct)
maxUniformBuffersPerDescriptor().public static int nmaxStorageBuffersPerDescriptor(long struct)
maxStorageBuffersPerDescriptor().public static int nmaxStorageImagesPerDescriptor(long struct)
maxStorageImagesPerDescriptor().public static int nmaxSampledImagesPerDescriptor(long struct)
maxSampledImagesPerDescriptor().public static int nmaxPipelineLayouts(long struct)
maxPipelineLayouts().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nobjectCount(long struct,
int value)
objectCount field of the specified struct.public static void npObjectEntryTypes(long struct,
java.nio.IntBuffer value)
pObjectEntryTypes.public static void npObjectEntryCounts(long struct,
java.nio.IntBuffer value)
pObjectEntryCounts.public static void npObjectEntryUsageFlags(long struct,
java.nio.IntBuffer value)
pObjectEntryUsageFlags.public static void nmaxUniformBuffersPerDescriptor(long struct,
int value)
maxUniformBuffersPerDescriptor.public static void nmaxStorageBuffersPerDescriptor(long struct,
int value)
maxStorageBuffersPerDescriptor.public static void nmaxStorageImagesPerDescriptor(long struct,
int value)
maxStorageImagesPerDescriptor.public static void nmaxSampledImagesPerDescriptor(long struct,
int value)
maxSampledImagesPerDescriptor.public static void nmaxPipelineLayouts(long struct,
int value)
maxPipelineLayouts.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.