Rebel Fork Framework
|
Scene for ray tracing. More...
#include <Urho3D/Glow/RaytracerScene.h>
Public Member Functions | |
RaytracerScene (Context *context, embree3::RTCDevice embreeDevice, embree3::RTCScene raytracerScene, ea::vector< RaytracerGeometry > geometries, const BakedSceneBackgroundArrayPtr &backgrounds, float maxDistance) | |
Construct. | |
~RaytracerScene () override | |
Destruct. | |
Context * | GetContext () const |
Return context. | |
embree3::RTCDevice | GetEmbreeDevice () const |
Return Embree device. | |
embree3::RTCScene | GetEmbreeScene () const |
Return Embree scene. | |
const ea::vector< RaytracerGeometry > & | GetGeometries () const |
Return geometries. | |
const BakedSceneBackgroundArrayPtr & | GetBackgrounds () const |
Return background. | |
float | GetMaxDistance () const |
Return max distance between two points. | |
![]() | |
RefCounted () | |
Construct. Allocate the reference count structure and set an initial self weak reference. | |
virtual | ~RefCounted () |
Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist. | |
RefCounted (const RefCounted &rhs)=delete | |
Prevent copy construction. | |
RefCounted & | operator= (const RefCounted &rhs)=delete |
Prevent assignment. | |
int | AddRef () |
int | ReleaseRef () |
int | Refs () const |
int | WeakRefs () const |
RefCount * | RefCountPtr () const |
Return pointer to the reference count structure. | |
bool | HasScriptObject () const |
Return true if script runtime object wrapping this native object exists. | |
bool | IsScriptStrongRef () const |
Return true if script reference is strong. | |
Private Attributes | |
Context * | context_ {} |
Context. | |
embree3::RTCDevice | device_ {} |
Embree device. | |
embree3::RTCScene | scene_ {} |
Embree scene. | |
ea::vector< RaytracerGeometry > | geometries_ |
Geometries. | |
BakedSceneBackgroundArrayPtr | backgrounds_ |
Background. | |
float | maxDistance_ {} |
Max distance between two points. | |
Scene for ray tracing.