nw::gfx::SceneUpdateHelper::SubmitView Member Function

Syntax

template <typename IsVisibleModelFunctor>
static void SubmitView(
     SkeletonUpdater * skeletonUpdater,
     BillboardUpdater * billboardUpdater,
     RenderQueue * renderQueue,
     SceneContext * sceneContext,
     const Camera & camera,
     u8 layerId,
     u8 particleLayerId,
     ISceneUpdater::RenderSortMode renderSortMode,
     ISceneUpdater::DepthSortMode depthSortMode,
     IsVisibleModelFunctor * isVisibleModel
);

Template Arguments

Name Description
IsVisibleModelFunctor Function object type used to identify the model to be displayed.

Arguments

Name Description
in skeletonUpdater Skeleton updater.
in billboardUpdater Billboard updater.
in renderQueue Queue where the elements that make up the render targets are collected.
in sceneContext Scene context.
in camera Camera.
in layerId ID that is given highest priority when sorting render elements. This is used to control rendering of layers and billboarding.
in particleLayerId layerId for rendering particles.
in renderSortMode The render sort mode.
depthSortMode
in isVisibleModel Function object used to identify the model to be displayed.

Return Values

None.

Description

Updates a scene based on the camera's visual range, and builds the render queue.


CONFIDENTIAL