Adds top level acceleration structure instance. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| AddTopLevelAccelerationStructureInstanceCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| BottomLevelAccelerationStructureHandleGuard | accelerationStructureHandle |
| Bottom level acceleration structure handle. | |
| uint32_t | customIdx |
| Instance custom index. | |
| AccelerationStructureInstanceFlag | instanceFlag |
| Instance flag. | |
| uint8_t | mask |
| Geometry mask. | |
| m4f | transform |
| Instance transform. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Adds top level acceleration structure instance.
|
inline |
Constructor.
| BottomLevelAccelerationStructureHandleGuard kanzi::gfx::AddTopLevelAccelerationStructureInstanceCommand::accelerationStructureHandle |
Bottom level acceleration structure handle.
| m4f kanzi::gfx::AddTopLevelAccelerationStructureInstanceCommand::transform |
Instance transform.
| AccelerationStructureInstanceFlag kanzi::gfx::AddTopLevelAccelerationStructureInstanceCommand::instanceFlag |
Instance flag.
| uint32_t kanzi::gfx::AddTopLevelAccelerationStructureInstanceCommand::customIdx |
Instance custom index.