nw::gfx::RelativeHashMaterialIdGenerator Class

Syntax

class RelativeHashMaterialIdGenerator : public nw::gfx::IMaterialIdGenerator

Description

Class for creating material IDs using the material hash. Plans call for the abolishment of RelativeHashMaterialIdGenerator in version 1.3.0. Use SortingMaterialIdGenerator or an originally implemented material ID generator.

Classes

nw::gfx::RelativeHashMaterialIdGenerator::Builder

Structures

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

Member Variables

NW_UT_RUNTIME_TYPEINFO

Member Functions

Constructors and Destructors
RelativeHashMaterialIdGenerator 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::RelativeHashMaterialIdGenerator


CONFIDENTIAL