Class AccelerationStructureInfo

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class AccelerationStructureInfo : public gpa::playback::ResourceInfo

Graphics API agnostic information for an acceleration structure object.

Public Types

enum class Type

Values:

enumerator Unknown
enumerator TopLevel
enumerator BottomLevel
enumerator Generic

Public Functions

virtual TypeId GetTypeId() const final override

Gets this AccelerationStructureInfo object's TypeId.

Returns

This AccelerationStructureInfo object's TypeId

virtual void OnRegister() final override

This method will be called when this ResourceInfo is registered for the first time.

Note

If this method is overriden ResourceInfo::OnRegister() must be called

Public Members

Type type = {Type::Unknown}
uint64_t offset = {0}
uint64_t size = {0}
api_types::RaytracingBuildFlags flags = {api_types::GPA_RAYTRACING_BUILD_FLAGS_NONE}
size_t instanceDescCount = {0}
size_t geometryDescCount = {0}
api_types::RaytracingInstanceDesc const *pInstanceDescs = {nullptr}
api_types::RaytracingGeometryDesc const *pGeometryDescs = {nullptr}