Due to the fact that the geometry, instance, and primitive counts are specified at acceleration structure creation as 32-bit values, maxGeometryCount, maxInstanceCount, and maxPrimitiveCount must not exceed 232-1.
If the VkPhysicalDeviceAccelerationStructurePropertiesKHR structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
Limits specified by this structure must match those specified with the same name in VkPhysicalDeviceRayTracingPropertiesNV.
struct VkPhysicalDeviceAccelerationStructurePropertiesKHR {
VkStructureType sType;
void * pNext;
uint64_t maxGeometryCount;
uint64_t maxInstanceCount;
uint64_t maxPrimitiveCount;
uint32_t maxPerStageDescriptorAccelerationStructures;
uint32_t maxPerStageDescriptorUpdateAfterBindAccelerationStructures;
uint32_t maxDescriptorSetAccelerationStructures;
uint32_t maxDescriptorSetUpdateAfterBindAccelerationStructures;
uint32_t minAccelerationStructureScratchOffsetAlignment;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAXDESCRIPTORSETACCELERATIONSTRUCTURES
The struct member offsets. |
| public static final int | MAXDESCRIPTORSETUPDATEAFTERBINDACCELERATIONSTRUCTURES
The struct member offsets. |
| public static final int | MAXGEOMETRYCOUNT
The struct member offsets. |
| public static final int | MAXINSTANCECOUNT
The struct member offsets. |
| public static final int | MAXPERSTAGEDESCRIPTORACCELERATIONSTRUCTURES
The struct member offsets. |
| public static final int | MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDACCELERATIONSTRUCTURES
The struct member offsets. |
| public static final int | MAXPRIMITIVECOUNT
The struct member offsets. |
| public static final int | MINACCELERATIONSTRUCTURESCRATCHOFFSETALIGNMENT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceAccelerationStructurePropertiesKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceAccelerationStructurePropertiesKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | create()
Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | create(long address)
Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxDescriptorSetAccelerationStructures()
the maximum number of acceleration structure descriptors that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. |
| public int | maxDescriptorSetUpdateAfterBindAccelerationStructures()
similar to |
| public long | |
| public long | |
| public int | maxPerStageDescriptorAccelerationStructures()
the maximum number of acceleration structure bindings that can be accessible to a single shader stage in a pipeline layout. |
| public int | maxPerStageDescriptorUpdateAfterBindAccelerationStructures()
similar to |
| public long | maxPrimitiveCount()
the maximum number of triangles or AABBs in all geometries in the bottom level acceleration structure. |
| public int | minAccelerationStructureScratchOffsetAlignment()
the minimum required alignment, in bytes, for scratch data passed in to an acceleration structure build command. |
| public static int | nmaxDescriptorSetAccelerationStructures(long struct)
Unsafe version of |
| public static int | nmaxDescriptorSetUpdateAfterBindAccelerationStructures(long struct)
Unsafe version of |
| public static long | |
| public static long | |
| public static int | nmaxPerStageDescriptorAccelerationStructures(long struct)
Unsafe version of |
| public static int | nmaxPerStageDescriptorUpdateAfterBindAccelerationStructures(long struct)
Unsafe version of |
| public static long | |
| public static int | nminAccelerationStructureScratchOffsetAlignment(long struct)
Unsafe version of |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR | |
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR | |
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR | |
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MAXDESCRIPTORSETACCELERATIONSTRUCTURES | back to summary |
|---|---|
| public static final int MAXDESCRIPTORSETACCELERATIONSTRUCTURES The struct member offsets. | |
| MAXDESCRIPTORSETUPDATEAFTERBINDACCELERATIONSTRUCTURES | back to summary |
|---|---|
| public static final int MAXDESCRIPTORSETUPDATEAFTERBINDACCELERATIONSTRUCTURES The struct member offsets. | |
| MAXGEOMETRYCOUNT | back to summary |
|---|---|
| public static final int MAXGEOMETRYCOUNT The struct member offsets. | |
| MAXINSTANCECOUNT | back to summary |
|---|---|
| public static final int MAXINSTANCECOUNT The struct member offsets. | |
| MAXPERSTAGEDESCRIPTORACCELERATIONSTRUCTURES | back to summary |
|---|---|
| public static final int MAXPERSTAGEDESCRIPTORACCELERATIONSTRUCTURES The struct member offsets. | |
| MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDACCELERATIONSTRUCTURES | back to summary |
|---|---|
| public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDACCELERATIONSTRUCTURES The struct member offsets. | |
| MAXPRIMITIVECOUNT | back to summary |
|---|---|
| public static final int MAXPRIMITIVECOUNT The struct member offsets. | |
| MINACCELERATIONSTRUCTURESCRATCHOFFSETALIGNMENT | back to summary |
|---|---|
| public static final int MINACCELERATIONSTRUCTURESCRATCHOFFSETALIGNMENT The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkPhysicalDeviceAccelerationStructurePropertiesKHR | back to summary |
|---|---|
| protected VkPhysicalDeviceAccelerationStructurePropertiesKHR(long address, ByteBuffer container) | |
| VkPhysicalDeviceAccelerationStructurePropertiesKHR | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceAccelerationStructurePropertiesKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceAccelerationStructurePropertiesKHR. Returns a new
| |
| maxDescriptorSetAccelerationStructures | back to summary |
|---|---|
| public int maxDescriptorSetAccelerationStructures() the maximum number of acceleration structure descriptors 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 of
| |
| maxDescriptorSetUpdateAfterBindAccelerationStructures | back to summary |
|---|---|
| public int maxDescriptorSetUpdateAfterBindAccelerationStructures() similar to
| |
| maxGeometryCount | back to summary |
|---|---|
| public long maxGeometryCount() the maximum number of geometries in the bottom level acceleration structure.
| |
| maxInstanceCount | back to summary |
|---|---|
| public long maxInstanceCount() the maximum number of instances in the top level acceleration structure.
| |
| maxPerStageDescriptorAccelerationStructures | back to summary |
|---|---|
| public int maxPerStageDescriptorAccelerationStructures() the maximum number of acceleration structure bindings that can be accessible to a single shader stage in a pipeline layout. Descriptor bindings with a descriptor type of
| |
| maxPerStageDescriptorUpdateAfterBindAccelerationStructures | back to summary |
|---|---|
| public int maxPerStageDescriptorUpdateAfterBindAccelerationStructures() similar to
| |
| maxPrimitiveCount | back to summary |
|---|---|
| public long maxPrimitiveCount() the maximum number of triangles or AABBs in all geometries in the bottom level acceleration structure.
| |
| minAccelerationStructureScratchOffsetAlignment | back to summary |
|---|---|
| public int minAccelerationStructureScratchOffsetAlignment() the minimum required alignment, in bytes, for scratch data passed in to an acceleration structure build command. The value must be a power of two.
| |
| nmaxDescriptorSetAccelerationStructures | back to summary |
|---|---|
| public static int nmaxDescriptorSetAccelerationStructures(long struct) Unsafe version of | |
| nmaxDescriptorSetUpdateAfterBindAccelerationStructures | back to summary |
|---|---|
| public static int nmaxDescriptorSetUpdateAfterBindAccelerationStructures(long struct) Unsafe version of | |
| nmaxGeometryCount | back to summary |
|---|---|
| public static long nmaxGeometryCount(long struct) Unsafe version of | |
| nmaxInstanceCount | back to summary |
|---|---|
| public static long nmaxInstanceCount(long struct) Unsafe version of | |
| nmaxPerStageDescriptorAccelerationStructures | back to summary |
|---|---|
| public static int nmaxPerStageDescriptorAccelerationStructures(long struct) Unsafe version of | |
| nmaxPerStageDescriptorUpdateAfterBindAccelerationStructures | back to summary |
|---|---|
| public static int nmaxPerStageDescriptorUpdateAfterBindAccelerationStructures(long struct) Unsafe version of | |
| nmaxPrimitiveCount | back to summary |
|---|---|
| public static long nmaxPrimitiveCount(long struct) Unsafe version of | |
| nminAccelerationStructureScratchOffsetAlignment | back to summary |
|---|---|
| public static int nminAccelerationStructureScratchOffsetAlignment(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR set(VkPhysicalDeviceAccelerationStructurePropertiesKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR sType$Default() Sets the | |
VkPhysicalDeviceAccelerationStructurePropertiesKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceAccelerationStructurePropertiesKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceAccelerationStructurePropertiesKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceAccelerationStructurePropertiesKHR getElementFactory() Implements abstract org.
| |
| maxDescriptorSetAccelerationStructures | back to summary |
|---|---|
public int maxDescriptorSetAccelerationStructures()
| |
| maxDescriptorSetUpdateAfterBindAccelerationStructures | back to summary |
|---|---|
public int maxDescriptorSetUpdateAfterBindAccelerationStructures()
| |
| maxGeometryCount | back to summary |
|---|---|
public long maxGeometryCount()
| |
| maxInstanceCount | back to summary |
|---|---|
public long maxInstanceCount()
| |
| maxPerStageDescriptorAccelerationStructures | back to summary |
|---|---|
public int maxPerStageDescriptorAccelerationStructures()
| |
| maxPerStageDescriptorUpdateAfterBindAccelerationStructures | back to summary |
|---|---|
public int maxPerStageDescriptorUpdateAfterBindAccelerationStructures()
| |
| maxPrimitiveCount | back to summary |
|---|---|
public long maxPrimitiveCount()
| |
| minAccelerationStructureScratchOffsetAlignment | back to summary |
|---|---|
public int minAccelerationStructureScratchOffsetAlignment()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceAccelerationStructurePropertiesKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceAccelerationStructurePropertiesKHR. Sets the | |