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 !=
GetFlags Gets the flag value.
SetFlags Sets flag value.
GetLayerConfig Gets the layer config.
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. (Inherited from ResCommon)
IsValid Determines whether a pointer to a resource is null.(Inherited 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