|
MaterialType | getMaterialType () const |
| Get material type. More...
|
|
virtual Material * | clone () const override |
| Clone material.
|
|
local | clone () |
| Clone material.
|
|
std::string | getName () const |
| returns the material name
|
|
var | getName () |
| returns the material name
|
|
local | getName () |
| returns the material name
|
|
void | setName (const std::string &name) |
| sets the material name
|
|
var | setName ( var name) |
| sets the material name
|
|
local | setName ( local name) |
| sets the material name
|
|
Technique * | getTechniqueByName (const std::string &name) |
| Returns a Technique by its name. More...
|
|
Technique * | getTechniqueByIndex (ssize_t index) |
| Returns a Technique by index. More...
|
|
var | getTechniqueByIndex ( var index) |
| Returns a Technique by index. More...
|
|
local | getTechniqueByIndex ( local index) |
| Returns a Technique by index. More...
|
|
Technique * | getTechnique () const |
| Returns the Technique used by the Material.
|
|
var | getTechnique () |
| Returns the Technique used by the Material.
|
|
local | getTechnique () |
| Returns the Technique used by the Material.
|
|
const Vector< Technique * > & | getTechniques () const |
| Returns the list of Techniques.
|
|
local | getTechniques () |
| Returns the list of Techniques.
|
|
ssize_t | getTechniqueCount () const |
| Returns the number of Techniques in the Material. More...
|
|
local | getTechniqueCount () |
| Returns the number of Techniques in the Material. More...
|
|
void | addTechnique (Technique *technique) |
| Adds a Technique into the Material.
|
|
var | addTechnique ( var technique) |
| Adds a Technique into the Material.
|
|
local | addTechnique ( local technique) |
| Adds a Technique into the Material.
|
|
void | setTechnique (const std::string &techniqueName) |
| Sets the current technique.
|
|
var | setTechnique ( var techniqueName) |
| Sets the current technique.
|
|
local | setTechnique ( local techniqueName) |
| Sets the current technique.
|
|
void | setTexture (Texture2D *texture) |
| Texture that will use in the CC_Texture0 uniform. More...
|
|
var | setTexture ( var texture) |
| Texture that will use in the CC_Texture0 uniform. More...
|
|
local | setTexture ( local texture) |
| Texture that will use in the CC_Texture0 uniform. More...
|
|
Texture2D * | getTexture () const |
| Returns the texture that is going to be used for CC_Texture0. More...
|
|
void | bind (Pass *pass) |
| Binds the render state for this RenderState and any of its parents, top-down, for the given pass.
|
|
RenderState * | getTopmost (RenderState *below) |
| Returns the topmost RenderState in the hierarchy below the given RenderState.
|
|
var | getTopmost ( var below) |
| Returns the topmost RenderState in the hierarchy below the given RenderState.
|
|
local | getTopmost ( local below) |
| Returns the topmost RenderState in the hierarchy below the given RenderState.
|
|
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
local | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
local | getReferenceCount () |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
| Destructor. More...
|
|