wisdom
Loading...
Searching...
No Matches
wis::TopLevelASBuildDesc Struct Reference

Detailed Description

Top level acceleration structure build description.

uint32_t instance_count;
uint64_t gpu_address;
bool indirect;
bool update;
};
AccelerationStructureFlags
Acceleration structure flags for additional acceleration structure features.
Definition api.hpp:1501
Top level acceleration structure build description.
Definition api.hpp:2091

Definition at line 2091 of file api.hpp.

#include <api.hpp>

Public Attributes

wis::AccelerationStructureFlags flags
 Build flags.
 
uint32_t instance_count
 Instance count.
 
uint64_t gpu_address
 Address of instances.
 
bool indirect
 If true Buffer under address contains pointers to the instances, rather than instances themselves.
 
bool update
 true means the acceleration structure is being updated. flags must have contained wis::AccelerationStructureFlags::AllowUpdate to perfom updates.
 

Data Members

◆ flags

wis::AccelerationStructureFlags wis::TopLevelASBuildDesc::flags

Build flags.

Definition at line 2092 of file api.hpp.

◆ gpu_address

uint64_t wis::TopLevelASBuildDesc::gpu_address

Address of instances.

Definition at line 2094 of file api.hpp.

◆ indirect

bool wis::TopLevelASBuildDesc::indirect

If true Buffer under address contains pointers to the instances, rather than instances themselves.

Definition at line 2095 of file api.hpp.

◆ instance_count

uint32_t wis::TopLevelASBuildDesc::instance_count

Instance count.

Definition at line 2093 of file api.hpp.

◆ update

bool wis::TopLevelASBuildDesc::update

true means the acceleration structure is being updated. flags must have contained wis::AccelerationStructureFlags::AllowUpdate to perfom updates.

Definition at line 2100 of file api.hpp.


The documentation for this struct was generated from the following file: