nw::gfx::BasicRenderQueue::Reset Member Function

Syntax

void Reset(
     ElementKeyFactoryType * opacityKeyFactory,
     ElementKeyFactoryType * translucentKeyFactory,
     ElementKeyFactoryType * additiveKeyFactory,
     ElementKeyFactoryType * subtractionKeyFactory,
     bool cacheEnabled = false
);

Arguments

Name Description
in opacityKeyFactory Key factory for an opacity mesh.
in translucentKeyFactory Key factory for a translucency mesh.
in additiveKeyFactory Key factory for an additive blending mesh.
in subtractionKeyFactory Key factory for a subtractive blending mesh.
in cacheEnabled Enables the cache if true is specified.

Return Values

None.

Description

Deletes all elements in the queue, and configures a key factory.

If all key factories are set to NULL no changes will be made to the factory.

See Also

nw::gfx::CreatePriorMaterialRenderKeyFactory
nw::gfx::CreatePriorMaterialReverseDepthRenderKeyFactory
nw::gfx::CreatePriorMaterialAndZeroDepthRenderKeyFactory
nw::gfx::CreatePriorDepthRenderKeyFactory
nw::gfx::CreatePriorDepthReverseDepthRenderKeyFactory
nw::gfx::CreateTopPriorDepthRenderKeyFactory
nw::gfx::CreateTopPriorDepthReverseDepthRenderKeyFactory


CONFIDENTIAL