VkAccelerationStructureInstanceKHR.
struct VkAccelerationStructureInstanceNV {
VkTransformMatrixKHR transform;
uint32_t instanceCustomIndex : 24;
uint32_t mask : 8;
uint32_t instanceShaderBindingTableRecordOffset : 24;
VkGeometryInstanceFlagsKHR flags : 8;
uint64_t accelerationStructureReference;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkAccelerationStructureInstanceNV.
An array of |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkAccelerationStructureInstanceNV(ByteBuffer container)
Creates a |
| VkAccelerationStructureInstanceNV | back to summary |
|---|---|
| protected VkAccelerationStructureInstanceNV(long address, ByteBuffer container) | |
| VkAccelerationStructureInstanceNV | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| accelerationStructureReference | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV accelerationStructureReference(long value) Overrides org. Sets the specified value to the
| |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV calloc() Hides org. Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV calloc(MemoryStack stack) Hides org. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkAccelerationStructureInstanceNV create(long address, ByteBuffer container) Overrides org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV create() Hides org. Returns a new | |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV create(long address) Hides org. Returns a new | |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV createSafe(long address) Hides org. Like
| |
| createSafe | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Like
| |
| flags | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV flags(int value) Overrides org. Sets the specified value to the
| |
| instanceCustomIndex | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV instanceCustomIndex(int value) Overrides org. Sets the specified value to the
| |
| instanceShaderBindingTableRecordOffset | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV instanceShaderBindingTableRecordOffset(int value) Overrides org. Sets the specified value to the
| |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV malloc() Hides org. Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV malloc(MemoryStack stack) Hides org. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureInstanceNV. Hides org. Returns a new
| |
| mask | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV mask(int value) Overrides org. Sets the specified value to the
| |
| set | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV set(VkTransformMatrixKHR transform, int instanceCustomIndex, int mask, int instanceShaderBindingTableRecordOffset, int flags, long accelerationStructureReference) Overrides org. Initializes this struct with the specified values.
| |
| set | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV set(VkAccelerationStructureInstanceNV src) Copies the specified struct data to this struct.
| |
| transform | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV transform(VkTransformMatrixKHR value) Overrides org. Copies the specified
| |
| transform | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV transform(Consumer<VkTransformMatrixKHR> consumer) Overrides org. Passes the
| |
VkAccelerationStructureInstanceNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkAccelerationStructureInstanceNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkAccelerationStructureInstanceNV ELEMENT_FACTORY Hides org. | |
| 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) | |
| accelerationStructureReference | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Sets the specified value to the
| |
| flags | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Sets the specified value to the
| |
| getElementFactory | back to summary |
|---|---|
| protected VkAccelerationStructureInstanceNV getElementFactory() Overrides org.
| |
| instanceCustomIndex | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Sets the specified value to the
| |
| instanceShaderBindingTableRecordOffset | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Sets the specified value to the
| |
| mask | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Sets the specified value to the
| |
| self | back to summary |
|---|---|
| protected VkAccelerationStructureInstanceNV. Overrides org.
| |
| transform | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Copies the specified
| |
| transform | back to summary |
|---|---|
| public VkAccelerationStructureInstanceNV. Overrides org. Passes the
| |