nw::gfx::SortingMaterialIdGenerator Class

Syntax

class SortingMaterialIdGenerator : public nw::gfx::IMaterialIdGenerator

Description

Class for creating material IDs from the results of sorting.

Material IDs are created according the order of priority given below. Binary comparison > Shader comparison > Lookup table comparison

Classes

nw::gfx::SortingMaterialIdGenerator::Builder Class for building classes to generate material IDs from a ResMaterial binary resource pointer.

Structures

nw::gfx::SortingMaterialIdGenerator::Description Content to configure.

Member Variables

NW_UT_RUNTIME_TYPEINFO

Member Functions

Constructors and Destructors
SortingMaterialIdGenerator Constructor.
Generation
V Accept Gets the material. The material is added to an array.
V Generate Creates a material ID.
Create/Destroy
Destroy Destroys an object.(Derived from GfxObject.)

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::IMaterialIdGenerator
    nw::gfx::SortingMaterialIdGenerator


CONFIDENTIAL