|
Blender V5.3
|
#include <GPU_ray_tracing.hh>
Inherited by blender::gpu::MTLTopLevelAS, and blender::gpu::VKTopLevelAS.
Public Member Functions | |
| virtual | ~TopLevelAS ()=default |
| virtual InstanceID | add_instance (const BottomLevelAS &blas, const float4x4 &mat, uint8_t mask=0xFF)=0 |
| virtual void | update_instance (InstanceID instance_id, const float4x4 &mat, uint8_t mask=0xFF)=0 |
| virtual void | build ()=0 |
| virtual void | bind (int slot)=0 |
Protected Member Functions | |
| TopLevelAS (const char *name) | |
| const char * | name_get () const |
Acceleration structure for an array of instances.
Definition at line 28 of file GPU_ray_tracing.hh.
|
inlineprotected |
Definition at line 33 of file GPU_ray_tracing.hh.
Referenced by blender::gpu::MTLTopLevelAS::MTLTopLevelAS(), and blender::gpu::VKTopLevelAS::VKTopLevelAS().
|
virtualdefault |
|
pure virtual |
Implemented in blender::gpu::MTLTopLevelAS, and blender::gpu::VKTopLevelAS.
|
pure virtual |
Implemented in blender::gpu::MTLTopLevelAS, and blender::gpu::VKTopLevelAS.
Referenced by blender::gpu::tests::hit_test().
|
pure virtual |
Implemented in blender::gpu::MTLTopLevelAS, and blender::gpu::VKTopLevelAS.
|
inlineprotected |
Definition at line 35 of file GPU_ray_tracing.hh.
Referenced by blender::gpu::VKTopLevelAS::build().
|
pure virtual |
Implemented in blender::gpu::MTLTopLevelAS, and blender::gpu::VKTopLevelAS.
References instance_id.