nw::gfx::RenderContext::ResetStateMode Enumerated Type

Syntax

enum ResetStateMode;

Value

Value Description
RESETSTATEMODE_MODEL_CACHE State indicating the world matrix of the configured model.
RESETSTATEMODE_MATERIAL State indicating the material to be set when ActivateMaterial has been used.
RESETSTATEMODE_MATERIAL_CACHE State indicating the configured material.
RESETSTATEMODE_ACTIVE_CAMERA State indicating the camera to use for the configured scene environment.
RESETSTATEMODE_CAMERA_CACHE State indicating the camera to use for the configured rendering.
RESETSTATEMODE_SCENE_ENVIRONMENT State indicating the configured scene environment.
RESETSTATEMODE_SHADER_PROGRAM State indicating the configured shader program.
RESETSTATEMODE_LOOK_UP_TABLE State indicating the configured lookup table.
RESETSTATEMODE_HASH State indicating the material hash.
RESETSTATEMODE_VERTEX_ATTRIBUTE State indicating the configured vertex attribute.
RESETSTATEMODE_ALL Indicates all states.

Description

Defines states to be reset.

Only a particular state can be reset by passing one of these definitions in ResetState.


CONFIDENTIAL