nw::gfx::res::ResFragmentLighting Class

Syntax

class ResFragmentLighting : public nw::ut::ResCommon< ResFragmentLightingData >

Description

Binary resource class that represents fragment lighting.

Enumerated Types

LutType
ConfigDetail
Config Layer config.
FresnelConfig Colors to which Fresnel is applied.
BumpMode Method of using bump mapping.
BumpTexture Texture used for bump.

Member Functions

ResFragmentLighting Constructor.
ref
operator==
operator!=
NW_RES_FIELD_FLAGS_DECL
SetLayerConfig Sets the layer config.
GetFresnelConfig Gets the Fresnel factor.
FresnelConfig, Sets the Fresnel factor.
GetBumpTextureIndex Gets the texture unit number for executing bump mapping.
SetBumpTextureIndex Sets the texture unit number for executing bump mapping.
GetBumpMode Gets the bump mapping mode.
SetBumpMode Sets the bump mapping mode.
IsBumpRenormalize Gets the flag to enable recalculation of the z component of the bump vector.
SetBumpRenormalize Sets the flag to enable recalculation of the z component of the bump vector.
IsReflectionEnabled Returns whether or not the reflection factor.
ptr Returns a pointer to a binary resource structure. (Derived from ResCommon)
IsValid Determines whether a pointer to a resource is null.(Derived from ResCommonBase.)
S GetClassName
S ToConfigDetail Gets the flag for lookup table assignment from LayerConfig.

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResFragmentLighting


CONFIDENTIAL