|
enum | {
ALPHA_PREMULTIPLY = 1,
SEPARATE_ALPHA = 1 << 1,
MASK_R_CHANNEL = 1 << 2,
MASK = 1 << 3,
SDF = 1 << 4,
ADD_COLOR = 1 << 5,
SDF_OUTLINE = 1 << 1,
_SIZE = 1 << 6
} |
|
enum | { SAMPLER_BASE,
SAMPLER_ALPHA,
SAMPLER_MASK,
SAMPLER_NUM
} |
|
typedef Closure< void(IVideoDriver *, ShaderProgram *)> | ShaderUniformsCallback |
|
typedef std::vector< Restorable * > | restorable |
|
typedef Closure< void(Restorable *, void *userData)> | RestoreCallback |
|
|
ShaderProgram * | getShaderProgram (int flags) override |
|
void | apply (IVideoDriver *driver, spNativeTexture base, spNativeTexture alpha) |
|
void | init (const std::vector< unsigned char > &baseShader, const char *prepend="", const char *append="") |
|
void | release () |
|
ShaderUniformsCallback | getShaderUniformsCallback () const |
|
void | setShaderUniformsCallback (ShaderUniformsCallback cb) |
|
void | restore () |
|
void | reg (RestoreCallback cb, void *user) |
|
void | unreg () |
|
|
void | releaseShaders () override |
|
void * | _getRestorableObject () |
|
void | _restore (Restorable *, void *) |
|
|
shader | _shaders [_SIZE] |
|
std::vector< unsigned char > | _data |
|
ShaderUniformsCallback | _cb |
|
|
static const restorable & | getObjects () |
|
static void | restoreAll () |
|
static void | releaseAll () |
|
static bool | isRestored () |
|
The documentation for this class was generated from the following file: