Rebel Fork Framework
Urho3D::PointLightGeometryQuery Class Reference

Frustum query for point light forward lit geometries and shadow casters. More...

#include <Urho3D/RenderPipeline/LightProcessorQuery.h>

Inheritance diagram for Urho3D::PointLightGeometryQuery:
Urho3D::SphereOctreeQuery Urho3D::OctreeQuery Urho3D::NonCopyable

Public Member Functions

 PointLightGeometryQuery (ea::vector< Drawable * > &result, bool &hasLitGeometries, ea::vector< Drawable * > *shadowCasters, const DrawableProcessor *drawableProcessor, Light *light, unsigned primaryViewMask, unsigned shadowViewMask)
 
void TestDrawables (Drawable **start, Drawable **end, bool inside) override
 Intersection test for drawables.
 
- Public Member Functions inherited from Urho3D::SphereOctreeQuery
 SphereOctreeQuery (ea::vector< Drawable * > &result, const Sphere &sphere, DrawableFlags drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
 Construct with sphere and query parameters.
 
Intersection TestOctant (const BoundingBox &box, bool inside) override
 Intersection test for an octant.
 
- Public Member Functions inherited from Urho3D::OctreeQuery
 OctreeQuery (ea::vector< Drawable * > &result, DrawableFlags drawableFlags, unsigned viewMask)
 Construct with query parameters.
 
virtual ~OctreeQuery ()=default
 Destruct.
 

Private Member Functions

LightGeometryQueryResult IsLitOrShadowCaster (Drawable *drawable, bool inside) const
 

Private Attributes

bool & hasLitGeometries_
 
ea::vector< Drawable * > * shadowCasters_ {}
 Result array of shadow casters, if applicable.
 
const DrawableProcessordrawableProcessor_ {}
 
const unsigned lightMask_ {}
 
const unsigned shadowViewMask_ {}
 

Additional Inherited Members

- Public Attributes inherited from Urho3D::SphereOctreeQuery
Sphere sphere_
 Sphere.
 
- Public Attributes inherited from Urho3D::OctreeQuery
ea::vector< Drawable * > & result_
 Result vector reference.
 
DrawableFlags drawableFlags_
 Drawable flags to include.
 
unsigned viewMask_
 Drawable layers to include.
 

Detailed Description

Frustum query for point light forward lit geometries and shadow casters.

Member Data Documentation

◆ drawableProcessor_

const DrawableProcessor* Urho3D::PointLightGeometryQuery::drawableProcessor_ {}
private

Immutable


The documentation for this class was generated from the following files: