CullingContext Struct Template
Groups the matrices, bounds, and handle needed for a culling test. More...
Declaration
Public Member Attributes Index
template <typename TMemberHandle> | |
| std::array< FrustumPlane, 6 > | frustumPlanes {} |
|
Frustum planes based on the projection and view matrix, in world space. More... | |
template <typename TMemberHandle> | |
| mat4f | projectionMatrix {1.0f} |
|
Projection matrix used for the culling pass. More... | |
template <typename TMemberHandle> | |
| mat4f | viewMatrix {1.0f} |
|
View matrix used for the culling pass. More... | |
template <typename TMemberHandle> | |
| aabbf | bounds {} |
|
World-space bounds of the tested scene member. More... | |
template <typename TMemberHandle> | |
| TMemberHandle | handle |
|
Handle of the tested scene member. More... | |
Description
Groups the matrices, bounds, and handle needed for a culling test.
- Template Parameters
-
TMemberHandle Scene member handle type.
Definition at line 24 of file CullingContext.ixx.
Public Member Attributes
bounds
|
World-space bounds of the tested scene member.
Definition at line 36 of file CullingContext.ixx.
Referenced by helios::engine::scene::systems::SceneRenderSystem< TOwnerHandle, TMemberHandle, TCullingStrategy, TCommandBuffer >::update.
frustumPlanes
|
Frustum planes based on the projection and view matrix, in world space.
Definition at line 27 of file CullingContext.ixx.
handle
|
Handle of the tested scene member.
Definition at line 39 of file CullingContext.ixx.
projectionMatrix
|
Projection matrix used for the culling pass.
Definition at line 30 of file CullingContext.ixx.
viewMatrix
|
View matrix used for the culling pass.
Definition at line 33 of file CullingContext.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.