Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkAccelerationStructureMatrixMotionInstanceNV

extends Struct<VkAccelerationStructureMatrixMotionInstanceNV>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying a single acceleration structure matrix motion instance for building into an acceleration structure geometry.
Description

The C language specification does not define the ordering of bit-fields, but in practice, this struct produces the correct layout with existing compilers. The intended bit pattern is for the following:

If a compiler produces code that diverges from that pattern, applications must employ another method to set values according to the correct bit pattern.

The transform for a matrix motion instance at a point in time is derived by component-wise linear interpolation of the two transforms. That is, for a time in [0,1] the resulting transform is

transformT0 × (1 - time) + transformT1 × time
Valid Usage (Implicit)
See Also

VkAccelerationStructureMotionInstanceDataNV, VkTransformMatrixKHR

Layout


struct VkAccelerationStructureMatrixMotionInstanceNV {
    VkTransformMatrixKHR transformT0;
    VkTransformMatrixKHR transformT1;
    uint32_t instanceCustomIndex : 24;
    uint32_t mask : 8;
    uint32_t instanceShaderBindingTableRecordOffset : 24;
    VkGeometryInstanceFlagsKHR flags : 8;
    uint64_t accelerationStructureReference;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ACCELERATIONSTRUCTUREREFERENCE

The struct member offsets.

public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BITFIELD0

The struct member offsets.

public static final int
BITFIELD1

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TRANSFORMT0

The struct member offsets.

public static final int
TRANSFORMT1

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkAccelerationStructureMatrixMotionInstanceNV(ByteBuffer container)

Creates a VkAccelerationStructureMatrixMotionInstanceNV instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public long
accelerationStructureReference()

either:

public VkAccelerationStructureMatrixMotionInstanceNV
accelerationStructureReference(long value)

Sets the specified value to the accelerationStructureReference field.

public static VkAccelerationStructureMatrixMotionInstanceNV
calloc()

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated with memCalloc.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated with memCalloc.

public static VkAccelerationStructureMatrixMotionInstanceNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkAccelerationStructureMatrixMotionInstanceNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkAccelerationStructureMatrixMotionInstanceNV
create()

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated with BufferUtils.

public static VkAccelerationStructureMatrixMotionInstanceNV
create(long address)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance for the specified memory address.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated with BufferUtils.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance at the specified memory.

public static VkAccelerationStructureMatrixMotionInstanceNV
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
flags()

an 8-bit mask of VkGeometryInstanceFlagBitsKHR values to apply to this instance.

public VkAccelerationStructureMatrixMotionInstanceNV
flags(int value)

Sets the specified value to the flags field.

public int
instanceCustomIndex()

a 24-bit user-specified index value accessible to ray shaders in the InstanceCustomIndexKHR built-in.

public VkAccelerationStructureMatrixMotionInstanceNV
instanceCustomIndex(int value)

Sets the specified value to the instanceCustomIndex field.

public int
instanceShaderBindingTableRecordOffset()

a 24-bit offset used in calculating the hit shader binding table index.

public VkAccelerationStructureMatrixMotionInstanceNV
instanceShaderBindingTableRecordOffset(int value)

Sets the specified value to the instanceShaderBindingTableRecordOffset field.

public static VkAccelerationStructureMatrixMotionInstanceNV
malloc()

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated with memAlloc.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated with memAlloc.

public static VkAccelerationStructureMatrixMotionInstanceNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated on the specified MemoryStack.

public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated on the specified MemoryStack.

public int
mask()

an 8-bit visibility mask for the geometry.

public VkAccelerationStructureMatrixMotionInstanceNV
mask(int value)

Sets the specified value to the mask field.

public static long
public static void
naccelerationStructureReference(long struct, long value)

Unsafe version of accelerationStructureReference.

public static int
nbitfield0(long struct)

public static void
nbitfield0(long struct, int value)

public static int
nbitfield1(long struct)

public static void
nbitfield1(long struct, int value)

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static int
ninstanceCustomIndex(long struct)

Unsafe version of instanceCustomIndex.

public static void
ninstanceCustomIndex(long struct, int value)

Unsafe version of instanceCustomIndex.

public static int
public static void
public static int
nmask(long struct)

Unsafe version of mask.

public static void
nmask(long struct, int value)

Unsafe version of mask.

public static VkTransformMatrixKHR
ntransformT0(long struct)

Unsafe version of transformT0.

public static void
ntransformT0(long struct, VkTransformMatrixKHR value)

Unsafe version of transformT0.

public static VkTransformMatrixKHR
ntransformT1(long struct)

Unsafe version of transformT1.

public static void
ntransformT1(long struct, VkTransformMatrixKHR value)

Unsafe version of transformT1.

public VkAccelerationStructureMatrixMotionInstanceNV
set(VkTransformMatrixKHR transformT0, VkTransformMatrixKHR transformT1, int instanceCustomIndex, int mask, int instanceShaderBindingTableRecordOffset, int flags, long accelerationStructureReference)

Initializes this struct with the specified values.

public VkAccelerationStructureMatrixMotionInstanceNV

Returns:

this struct
set
(VkAccelerationStructureMatrixMotionInstanceNV
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public VkTransformMatrixKHR
transformT0()

a VkTransformMatrixKHR structure describing a transformation to be applied to the acceleration structure at time 0.

public VkAccelerationStructureMatrixMotionInstanceNV
transformT0(VkTransformMatrixKHR value)

Copies the specified VkTransformMatrixKHR to the transformT0 field.

public VkAccelerationStructureMatrixMotionInstanceNV
transformT0(Consumer<VkTransformMatrixKHR> consumer)

Passes the transformT0 field to the specified Consumer.

public VkTransformMatrixKHR
transformT1()

a VkTransformMatrixKHR structure describing a transformation to be applied to the acceleration structure at time 1.

public VkAccelerationStructureMatrixMotionInstanceNV
transformT1(VkTransformMatrixKHR value)

Copies the specified VkTransformMatrixKHR to the transformT1 field.

public VkAccelerationStructureMatrixMotionInstanceNV
transformT1(Consumer<VkTransformMatrixKHR> consumer)

Passes the transformT1 field to the specified Consumer.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ACCELERATIONSTRUCTUREREFERENCEback to summary
public static final int ACCELERATIONSTRUCTUREREFERENCE

The struct member offsets.

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BITFIELD0back to summary
public static final int BITFIELD0

The struct member offsets.

BITFIELD1back to summary
public static final int BITFIELD1

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TRANSFORMT0back to summary
public static final int TRANSFORMT0

The struct member offsets.

TRANSFORMT1back to summary
public static final int TRANSFORMT1

The struct member offsets.

Constructor Detail

VkAccelerationStructureMatrixMotionInstanceNVback to summary
protected VkAccelerationStructureMatrixMotionInstanceNV(long address, ByteBuffer container)
VkAccelerationStructureMatrixMotionInstanceNVback to summary
public VkAccelerationStructureMatrixMotionInstanceNV(ByteBuffer container)

Creates a VkAccelerationStructureMatrixMotionInstanceNV 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.

Method Detail

accelerationStructureReferenceback to summary
public long accelerationStructureReference()

either:

Annotations
@NativeType:uint64_t
accelerationStructureReferenceback to summary
public VkAccelerationStructureMatrixMotionInstanceNV accelerationStructureReference(long value)

Sets the specified value to the accelerationStructureReference field.

callocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV calloc()

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer calloc(int capacity)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV calloc(MemoryStack stack)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected VkAccelerationStructureMatrixMotionInstanceNV create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV create()

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated with BufferUtils.

createback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV create(long address)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance for the specified memory address.

createback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer create(int capacity)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer create(long address, int capacity)

Create a VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public int flags()

an 8-bit mask of VkGeometryInstanceFlagBitsKHR values to apply to this instance.

Annotations
@NativeType:VkGeometryInstanceFlagsKHR
flagsback to summary
public VkAccelerationStructureMatrixMotionInstanceNV flags(int value)

Sets the specified value to the flags field.

instanceCustomIndexback to summary
public int instanceCustomIndex()

a 24-bit user-specified index value accessible to ray shaders in the InstanceCustomIndexKHR built-in.

Annotations
@NativeType:uint32_t
instanceCustomIndexback to summary
public VkAccelerationStructureMatrixMotionInstanceNV instanceCustomIndex(int value)

Sets the specified value to the instanceCustomIndex field.

instanceShaderBindingTableRecordOffsetback to summary
public int instanceShaderBindingTableRecordOffset()

a 24-bit offset used in calculating the hit shader binding table index.

Annotations
@NativeType:uint32_t
instanceShaderBindingTableRecordOffsetback to summary
public VkAccelerationStructureMatrixMotionInstanceNV instanceShaderBindingTableRecordOffset(int value)

Sets the specified value to the instanceShaderBindingTableRecordOffset field.

mallocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV malloc()

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer malloc(int capacity)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV malloc(MemoryStack stack)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkAccelerationStructureMatrixMotionInstanceNV.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

maskback to summary
public int mask()

an 8-bit visibility mask for the geometry. The instance may only be hit if Cull Mask & instance.mask != 0

Annotations
@NativeType:uint32_t
maskback to summary
public VkAccelerationStructureMatrixMotionInstanceNV mask(int value)

Sets the specified value to the mask field.

naccelerationStructureReferenceback to summary
public static long naccelerationStructureReference(long struct)

Unsafe version of accelerationStructureReference.

naccelerationStructureReferenceback to summary
public static void naccelerationStructureReference(long struct, long value)

Unsafe version of accelerationStructureReference.

nbitfield0back to summary
public static int nbitfield0(long struct)
nbitfield0back to summary
public static void nbitfield0(long struct, int value)
nbitfield1back to summary
public static int nbitfield1(long struct)
nbitfield1back to summary
public static void nbitfield1(long struct, int value)
nflagsback to summary
public static int nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, int value)

Unsafe version of flags.

ninstanceCustomIndexback to summary
public static int ninstanceCustomIndex(long struct)

Unsafe version of instanceCustomIndex.

ninstanceCustomIndexback to summary
public static void ninstanceCustomIndex(long struct, int value)

Unsafe version of instanceCustomIndex.

ninstanceShaderBindingTableRecordOffsetback to summary
public static int ninstanceShaderBindingTableRecordOffset(long struct)

Unsafe version of instanceShaderBindingTableRecordOffset.

ninstanceShaderBindingTableRecordOffsetback to summary
public static void ninstanceShaderBindingTableRecordOffset(long struct, int value)

Unsafe version of instanceShaderBindingTableRecordOffset.

nmaskback to summary
public static int nmask(long struct)

Unsafe version of mask.

nmaskback to summary
public static void nmask(long struct, int value)

Unsafe version of mask.

ntransformT0back to summary
public static VkTransformMatrixKHR ntransformT0(long struct)

Unsafe version of transformT0.

ntransformT0back to summary
public static void ntransformT0(long struct, VkTransformMatrixKHR value)

Unsafe version of transformT0.

ntransformT1back to summary
public static VkTransformMatrixKHR ntransformT1(long struct)

Unsafe version of transformT1.

ntransformT1back to summary
public static void ntransformT1(long struct, VkTransformMatrixKHR value)

Unsafe version of transformT1.

setback to summary
public VkAccelerationStructureMatrixMotionInstanceNV set(VkTransformMatrixKHR transformT0, VkTransformMatrixKHR transformT1, int instanceCustomIndex, int mask, int instanceShaderBindingTableRecordOffset, int flags, long accelerationStructureReference)

Initializes this struct with the specified values.

setback to summary
public VkAccelerationStructureMatrixMotionInstanceNV set(VkAccelerationStructureMatrixMotionInstanceNV src)

Copies the specified struct data to this struct.

Parameters
src:VkAccelerationStructureMatrixMotionInstanceNV

the source struct

Returns:VkAccelerationStructureMatrixMotionInstanceNV

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
transformT0back to summary
public VkTransformMatrixKHR transformT0()

a VkTransformMatrixKHR structure describing a transformation to be applied to the acceleration structure at time 0.

transformT0back to summary
public VkAccelerationStructureMatrixMotionInstanceNV transformT0(VkTransformMatrixKHR value)

Copies the specified VkTransformMatrixKHR to the transformT0 field.

transformT0back to summary
public VkAccelerationStructureMatrixMotionInstanceNV transformT0(Consumer<VkTransformMatrixKHR> consumer)

Passes the transformT0 field to the specified Consumer.

transformT1back to summary
public VkTransformMatrixKHR transformT1()

a VkTransformMatrixKHR structure describing a transformation to be applied to the acceleration structure at time 1.

transformT1back to summary
public VkAccelerationStructureMatrixMotionInstanceNV transformT1(VkTransformMatrixKHR value)

Copies the specified VkTransformMatrixKHR to the transformT1 field.

transformT1back to summary
public VkAccelerationStructureMatrixMotionInstanceNV transformT1(Consumer<VkTransformMatrixKHR> consumer)

Passes the transformT1 field to the specified Consumer.

org.lwjgl.vulkan back to summary

public Class VkAccelerationStructureMatrixMotionInstanceNV.Buffer

extends StructBuffer<VkAccelerationStructureMatrixMotionInstanceNV, VkAccelerationStructureMatrixMotionInstanceNV.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkAccelerationStructureMatrixMotionInstanceNV structs.

Field Summary

Modifier and TypeField and Description
private static final VkAccelerationStructureMatrixMotionInstanceNV

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public int
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
flags(int value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#flags field.

protected VkAccelerationStructureMatrixMotionInstanceNV
public int
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public int
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public int
mask()

public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
mask(int value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#mask field.

protected VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public VkTransformMatrixKHR
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public VkTransformMatrixKHR
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkAccelerationStructureMatrixMotionInstanceNV ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkAccelerationStructureMatrixMotionInstanceNV.Buffer instance backed by the specified container.

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 VkAccelerationStructureMatrixMotionInstanceNV#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

accelerationStructureReferenceback to summary
public long accelerationStructureReference()
Returns:long

the value of the VkAccelerationStructureMatrixMotionInstanceNV#accelerationStructureReference field.

Annotations
@NativeType:uint64_t
accelerationStructureReferenceback to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer accelerationStructureReference(long value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#accelerationStructureReference field.

flagsback to summary
public int flags()
Returns:int

the value of the VkAccelerationStructureMatrixMotionInstanceNV#flags field.

Annotations
@NativeType:VkGeometryInstanceFlagsKHR
flagsback to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer flags(int value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#flags field.

getElementFactoryback to summary
protected VkAccelerationStructureMatrixMotionInstanceNV getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
instanceCustomIndexback to summary
public int instanceCustomIndex()
Returns:int

the value of the VkAccelerationStructureMatrixMotionInstanceNV#instanceCustomIndex field.

Annotations
@NativeType:uint32_t
instanceCustomIndexback to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer instanceCustomIndex(int value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#instanceCustomIndex field.

instanceShaderBindingTableRecordOffsetback to summary
public int instanceShaderBindingTableRecordOffset()
Returns:int

the value of the VkAccelerationStructureMatrixMotionInstanceNV#instanceShaderBindingTableRecordOffset field.

Annotations
@NativeType:uint32_t
instanceShaderBindingTableRecordOffsetback to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer instanceShaderBindingTableRecordOffset(int value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#instanceShaderBindingTableRecordOffset field.

maskback to summary
public int mask()
Returns:int

the value of the VkAccelerationStructureMatrixMotionInstanceNV#mask field.

Annotations
@NativeType:uint32_t
maskback to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer mask(int value)

Sets the specified value to the VkAccelerationStructureMatrixMotionInstanceNV#mask field.

selfback to summary
protected VkAccelerationStructureMatrixMotionInstanceNV.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
transformT0back to summary
public VkTransformMatrixKHR transformT0()
Returns:VkTransformMatrixKHR

a VkTransformMatrixKHR view of the VkAccelerationStructureMatrixMotionInstanceNV#transformT0 field.

transformT0back to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer transformT0(VkTransformMatrixKHR value)

Copies the specified VkTransformMatrixKHR to the VkAccelerationStructureMatrixMotionInstanceNV#transformT0 field.

transformT0back to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer transformT0(Consumer<VkTransformMatrixKHR> consumer)

Passes the VkAccelerationStructureMatrixMotionInstanceNV#transformT0 field to the specified Consumer.

transformT1back to summary
public VkTransformMatrixKHR transformT1()
Returns:VkTransformMatrixKHR

a VkTransformMatrixKHR view of the VkAccelerationStructureMatrixMotionInstanceNV#transformT1 field.

transformT1back to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer transformT1(VkTransformMatrixKHR value)

Copies the specified VkTransformMatrixKHR to the VkAccelerationStructureMatrixMotionInstanceNV#transformT1 field.

transformT1back to summary
public VkAccelerationStructureMatrixMotionInstanceNV.Buffer transformT1(Consumer<VkTransformMatrixKHR> consumer)

Passes the VkAccelerationStructureMatrixMotionInstanceNV#transformT1 field to the specified Consumer.