RDAccelerationStructureGeometry
Inherits: RefCounted < Object
Acceleration structure geometry (used by RenderingDevice).
Description
RDAccelerationStructureGeometry describes a set of triangles used as raytracing geometry in the RenderingDevice.blas_create() method.
The geometry is always in triangle list form, either indexed or non-indexed. Triangle strips are not supported.
Properties
BitField[AccelerationStructureGeometryFlagBits] |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Property Descriptions
BitField[AccelerationStructureGeometryFlagBits] flags = 0 🔗
void set_flags(value: BitField[AccelerationStructureGeometryFlagBits])
BitField[AccelerationStructureGeometryFlagBits] get_flags()
Flags for the geometry.
Buffer containing vertex indices. If null, triangles are non-indexed.
Number of indices used by this geometry in index_buffer.
Byte offset of the first index in index_buffer.
Buffer containing vertices.
Number of vertices used by this geometry in vertex_buffer.
DataFormat vertex_format = 232 🔗
void set_vertex_format(value: DataFormat)
DataFormat get_vertex_format()
Format of the vertices in vertex_buffer.
Byte offset of the first vertex in vertex_buffer.
Number of bytes between each vertex in vertex_buffer.