nw::gfx::RelativeHashMaterialIdGenerator::Builder Class

Syntax

class Builder

Description

Class for building the material ID generator class using the material hash.

The default value for IsFixedSizeMemory is true. Various maximum settings are ignored if changed to false.

Member Functions

IsForceGeneration Sets the flag indicating forced generation.
IsFixedSizeMemory Sets a flag indicating whether memory is to be allocated even other than at time of creation.
MaxMaterials Sets the maximum number of materials.
NW_DEPRECATED_FUNCTION Creates a material ID generator class. Plans call for the abolishment of RelativeHashMaterialIdGenerator in version 1.3.0. Use SortingMaterialIdGenerator or an originally implemented material ID generator.

CONFIDENTIAL