If VkAccelerationStructureGeometryMotionTrianglesDataNV is included in the pNext chain of a VkAccelerationStructureGeometryTrianglesDataKHR structure, the basic vertex positions are used for the position of the triangles in the geometry at time 0.0 and the vertexData in VkAccelerationStructureGeometryMotionTrianglesDataNV is used for the vertex positions at time 1.0, with positions linearly interpolated at intermediate times.
Indexing for VkAccelerationStructureGeometryMotionTrianglesDataNV vertexData is equivalent to the basic vertex position data.
struct VkAccelerationStructureGeometryMotionTrianglesDataNV {
VkStructureType sType;
void const * pNext;
VkDeviceOrHostAddressConstKHR vertexData;
}
| 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 | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VERTEXDATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkAccelerationStructureGeometryMotionTrianglesDataNV(ByteBuffer container)
Creates a |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| 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. | |
| VERTEXDATA | back to summary |
|---|---|
| public static final int VERTEXDATA The struct member offsets. | |
| VkAccelerationStructureGeometryMotionTrianglesDataNV | back to summary |
|---|---|
| protected VkAccelerationStructureGeometryMotionTrianglesDataNV(long address, ByteBuffer container) | |
| VkAccelerationStructureGeometryMotionTrianglesDataNV | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkAccelerationStructureGeometryMotionTrianglesDataNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Like
| |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAccelerationStructureGeometryMotionTrianglesDataNV. Returns a new
| |
| 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 | |
| nvertexData | back to summary |
|---|---|
| public static VkDeviceOrHostAddressConstKHR nvertexData(long struct) Unsafe version of | |
| nvertexData | back to summary |
|---|---|
| public static void nvertexData(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV set(int sType, long pNext, VkDeviceOrHostAddressConstKHR vertexData) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV set(VkAccelerationStructureGeometryMotionTrianglesDataNV 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 VkAccelerationStructureGeometryMotionTrianglesDataNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV sType$Default() Sets the | |
| vertexData | back to summary |
|---|---|
| public VkDeviceOrHostAddressConstKHR vertexData() a pointer to vertex data for this geometry at time 1.0 | |
| vertexData | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV vertexData(VkDeviceOrHostAddressConstKHR value) Copies the specified | |
| vertexData | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV vertexData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes the | |
VkAccelerationStructureGeometryMotionTrianglesDataNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkAccelerationStructureGeometryMotionTrianglesDataNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkAccelerationStructureGeometryMotionTrianglesDataNV 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 VkAccelerationStructureGeometryMotionTrianglesDataNV getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkAccelerationStructureGeometryMotionTrianglesDataNV. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV. Sets the | |
| vertexData | back to summary |
|---|---|
| public VkDeviceOrHostAddressConstKHR vertexData() | |
| vertexData | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV. Copies the specified | |
| vertexData | back to summary |
|---|---|
| public VkAccelerationStructureGeometryMotionTrianglesDataNV. Passes the | |