Skip to main content

CullingContext Struct Template

Groups the matrices, bounds, and handle needed for a culling test. More...

Declaration

template <typename TMemberHandle> struct helios::engine::scene::types::CullingContext<TMemberHandle> { ... }

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>
mat4fprojectionMatrix {1.0f}

Projection matrix used for the culling pass. More...

template <typename TMemberHandle>
mat4fviewMatrix {1.0f}

View matrix used for the culling pass. More...

template <typename TMemberHandle>
aabbfbounds {}

World-space bounds of the tested scene member. More...

template <typename TMemberHandle>
TMemberHandlehandle

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

template <typename TMemberHandle>
aabbf helios::engine::scene::types::CullingContext< TMemberHandle >::bounds {}

frustumPlanes

template <typename TMemberHandle>
std::array<FrustumPlane, 6> helios::engine::scene::types::CullingContext< TMemberHandle >::frustumPlanes {}

Frustum planes based on the projection and view matrix, in world space.

Definition at line 27 of file CullingContext.ixx.

27 std::array<FrustumPlane, 6> frustumPlanes{};

handle

template <typename TMemberHandle>
TMemberHandle helios::engine::scene::types::CullingContext< TMemberHandle >::handle

Handle of the tested scene member.

Definition at line 39 of file CullingContext.ixx.

projectionMatrix

template <typename TMemberHandle>
mat4f helios::engine::scene::types::CullingContext< TMemberHandle >::projectionMatrix {1.0f}

Projection matrix used for the culling pass.

Definition at line 30 of file CullingContext.ixx.

30 mat4f projectionMatrix{1.0f};

viewMatrix

template <typename TMemberHandle>
mat4f helios::engine::scene::types::CullingContext< TMemberHandle >::viewMatrix {1.0f}

View matrix used for the culling pass.

Definition at line 33 of file CullingContext.ixx.

33 mat4f viewMatrix{1.0f};

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.