class ShaderDefines

Allows you to specify defines that can control shader compilation.

Public

Methods

Set

void Set(const String &name, float value)

Adds a new define with a floating point value.

Set

void Set(const String &name, i32 value)

Adds a new define with an integer value.

Set

void Set(const String &name, u32 value)

Adds a new define with an integer value.

Set

void Set(const String &name, const String &value)

Adds a new define with a string point value.

GetAll

UnorderedMap<String, String> GetAll() const

Returns a list of all defines.

Clear

void Clear()

Removes all defines.

Protected

Fields

mDefines

UnorderedMap<String, String> mDefines