resonance 1.0.1
Loading...
Searching...
No Matches
mat.h File Reference
#include <stddef.h>
#include <vector>
#include "math/color.h"
#include "math/transform.h"
#include "math/vector3.h"
#include "os/hxstr.h"
#include "rnd/manager.h"
#include "rnd/object.h"
Include dependency graph for mat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Rnd::Mat
 Surface description a Rnd::Mesh draws with. More...
class  Rnd::Mat::Stage
 One texture stage of a material. More...

Namespaces

namespace  Rnd
 The rendering engine.

Functions

Mat * Rnd::NewMat (const HxStr &name)
 Allocate and construct a material, the base creator of the "Mat" class.
Mat * Rnd::NewMatThroughHook (const HxStr &name)
 Build a material through the creator hook.
Object * Rnd::CreateRegisteredMat (const HxStr &name)
 Build a material for the registered "Mat" class by calling through g_pfnNewMat.
void Rnd::RegisterMatClass ()
 Point g_pfnNewMat at NewMat() and register the "Mat" class with Rnd::Manager.

Variables

int Rnd::g_nRndMatLoadVersion
 Serial version of the material record currently being read.
Mat *(* Rnd::g_pfnNewMat )(const HxStr &name)
 Creator the registered "Mat" class builds through.
int Rnd::g_nStageTextureBound
 Non-zero while the material stage being applied has a texture bound.