nw::gfx::res::ResMaterial Class

Syntax

class ResMaterial : public nw::gfx::res::ResSceneObject

Description

Binary resource class that represents materials.

Enumerated Types

TextureCoordinateConfig Texture coordinator configuration.
TranslucencyKind Rendering layer.

Member Functions

ResMaterial Constructor.
ptr Gets a pointer to actual data.
ref Gets the reference to the actual data.
operator==
operator!=
SetTextureCoordinateConfig
GetTranslucencyKind Gets the translucency type.
SetTranslucencyKind Sets the translucency type.
GetMaterialColor Gets the material color.
GetMaterialColorData Gets the material color.
GetRasterization Gets the rasterization.
GetRasterizationData Gets the rasterization.
GetFragmentOperation Gets the fragment operation.
GetFragmentOperationData Gets the fragment operation.
GetActiveTextureCoordinatorsCount Gets the number of active texture coordinators.
SetActiveTextureCoordinatorsCount Sets the number of active texture coordinators.
GetTextureCoordinatorsCount Gets the number of texture coordinators.
GetTextureCoordinators Gets texture coordinators.
GetTextureCoordinatorsData Gets an array of texture coordinators.
GetTextureMappersCount Gets the number of texture mappers.
GetTextureMappers Gets texture mappers.
GetProceduralTextureMapper Gets the procedural texture unit mapper.
GetShader Gets a shader.
GetFragmentShader Gets the fragment shader.
GetShaderProgramDescriptionIndex Gets the index of the shader resource.
SetShaderProgramDescriptionIndex Sets the index of the shader resource.
GetShaderParametersCount Gets the number of shader parameters.
GetShaderParameters Gets shader parameters.
GetLightSetIndex Gets the index of the light set.
SetLightSetIndex Sets the index of the light set.
GetFogIndex Gets the index of the fog.
SetFogIndex Sets the index of the fog.
GetMaterialId Gets the material ID to be used in render sorting.
SetMaterialId Sets the material ID to be used in render sorting.
GetRevision Gets the revision of the material binary.
Setup Initializes a resource.
Cleanup Cleans up a resource.
SetShader Configures a Shader after it has been set up.
GetHeader Gets the header information.(Derived from ResSceneObject.)
SetHeader Sets the header information.(Derived from ResSceneObject.)
GetName Gets the name of the resource.(Derived from ResSceneObject.)
GetUserDataCount Gets the number of instances of user data.(Derived from ResSceneObject.)
GetUserData Gets user data.(Derived from ResSceneObject.)
GetUserDataIndex Gets the index number of user data in the dictionary.(Derived from ResSceneObject.)
GetTypeInfo Gets instance type information.(Derived from ResSceneObject.)
IsValid Determines whether a pointer to a resource is null.(Derived from ResCommonBase.)
S GetClassName

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResSceneObject
      nw::gfx::res::ResMaterial


CONFIDENTIAL