Skip to content

KDGpu::AccelerationStructureGeometryInstance

#include <acceleration_structure_options.h>

Public Attributes

Name
float[3][4] transform
uint32_t instanceCustomIndex
uint32_t mask
uint32_t instanceShaderBindingTableRecordOffset
GeometryInstanceFlags flags
Handle< AccelerationStructure_t > accelerationStructure

Public Attributes Documentation

variable transform

1
2
3
4
5
float[3][4] transform {
        1.0f, 0.0f, 0.0f, 0.0f,
        0.0f, 1.0f, 0.0f, 0.0f,
        0.0f, 0.0f, 1.0f, 0.0f
    };

variable instanceCustomIndex

1
uint32_t instanceCustomIndex;

variable mask

1
uint32_t mask;

variable instanceShaderBindingTableRecordOffset

1
uint32_t instanceShaderBindingTableRecordOffset;

variable flags

1
GeometryInstanceFlags flags = GeometryInstanceFlagBits::None;

variable accelerationStructure

1
Handle< AccelerationStructure_t > accelerationStructure;

Updated on 2024-11-22 at 00:01:59 +0000