Registers a new gui node type to the Gui component
symbol - The unique C++ symbol name
name - The name of the node type
type_create_fn - the create function
type_destroy_fn - the destroy function. May be 0
Render constants handle
Create a new HComponentRenderConstants container
constants -
Destroys a render constants container
constants - (must not be 0)
Destroys a render constants container
constants - the constants
name_hash - the hashed name of the property
out_constant - the pointer where to store the constant
result - returns true if the constant exists
Get the number of render constants
constants - the constants
size - returns the number of set constants
Get a render constant by index
constants - the constants
index - the index
constant - the pointer where to store the constant
Set a render constant by name. The constant must exist in the material
constants - the render constants buffer
material - the material to get default values from if constant didn't already exist in the render constants buffer
name_hash - the hashed name of the constant
value_index - index of the constant value to set, if the constant is an array
element_index - pointer to the index of the element (in range [0,3]). May be 0
var - the constant value
Set a render constant by name. The constant must exist in the material
constants - the constants
name_hash - the hashed name of the constant
values - the values
num_values - number of values in the array
Removes a render constant from the container
constants - the constants
name_hash - the hashed name of the constant
result - non zero if the constant was removed
Hashes the constants
constants - the constants
state - the hash state to update
check if the constants have changed
constants - the constants
result - non zero if the constants were changed
set the constants of a render object
ro - the render object
constants - the constants
Used in GetMaterialConstant to resolve a render constant's value
Used in SetMaterialConstant to set a render constant's value