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. | |
Public Member Functions inherited from Urho3D::RefCounted | |
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. | |
Static Public Attributes | |
static const unsigned | LightmapUVAttribute = 0 |
Vertex attribute for lightmap UV. | |
static const unsigned | NormalAttribute = 1 |
Vertex attribute for smooth normal. | |
static const unsigned | UVAttribute = 2 |
Vertex attribute for primary UV. | |
static const unsigned | MaxAttributes = 3 |
Max number of vertex attributes. | |
static const unsigned | PrimaryLODGeometry = 0x00000001 |
Mask for lightmapped geometry, LOD 0. | |
static const unsigned | SecondaryLODGeometry = 0x00000002 |
Mask for lightmapped geometry, LODs 1..N. | |
static const unsigned | DirectShadowOnlyGeometry = 0x00000004 |
Mask for non-lightmapped geometry, LOD 0. | |
static const unsigned | AllGeometry = 0xffffffff |
Mask for all geometry. | |
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.