Kanzi 4.1.0
kanzi::gfx::BuildBottomLevelAccelerationStructureCommand Struct Reference

Builds bottom level acceleration structure. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::BuildBottomLevelAccelerationStructureCommand:
[legend]

Public Member Functions

 BuildBottomLevelAccelerationStructureCommand ()
 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 firstVertex
 First vertex.
 
BufferHandleGuard indexBufferHandle
 Index buffer handle.
 
uint32_t primitiveCount
 Primitive count.
 
uint32_t primitiveOffset
 Primitive offset.
 
BufferHandleGuard vertexBufferHandle
 Vertex buffer handle.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::gfx::BaseCommand
 BaseCommand (CommandType t, uint32_t s)
 Constructor.
 
 BaseCommand (const BaseCommand &other)
 Copy Constructor.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Builds bottom level acceleration structure.

Since
Kanzi 4.1.0

Constructor & Destructor Documentation

◆ BuildBottomLevelAccelerationStructureCommand()

kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::BuildBottomLevelAccelerationStructureCommand ( )
inline

Constructor.

Member Data Documentation

◆ accelerationStructureHandle

BottomLevelAccelerationStructureHandleGuard kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::accelerationStructureHandle

Bottom level acceleration structure handle.

◆ primitiveCount

uint32_t kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::primitiveCount

Primitive count.

◆ primitiveOffset

uint32_t kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::primitiveOffset

Primitive offset.

◆ firstVertex

uint32_t kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::firstVertex

First vertex.

◆ vertexBufferHandle

BufferHandleGuard kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::vertexBufferHandle

Vertex buffer handle.

◆ indexBufferHandle

BufferHandleGuard kanzi::gfx::BuildBottomLevelAccelerationStructureCommand::indexBufferHandle

Index buffer handle.


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