Axmol Engine 2.4.0-258ceca
|
#include <Technique.h>
Inherits Object.
Public Member Functions | |
void | addPass (Pass *pass) |
Adds a new pass to the Technique. | |
std::string | getName () const |
Returns the name of the Technique. | |
Pass * | getPassByIndex (ssize_t index) const |
Returns the Pass at given index. | |
ssize_t | getPassCount () const |
Returns the number of Passes in the Technique. | |
const Vector< Pass * > & | getPasses () const |
Returns the list of passes. | |
Technique * | clone () const |
Returns a new clone of the Technique. | |
![]() | |
void | retain () |
Retains the ownership. | |
void | release () |
Releases the ownership immediately. | |
Object * | autorelease () |
Releases the ownership sometime soon automatically. | |
unsigned int | getReferenceCount () const |
Returns the Object's current reference count. | |
virtual | ~Object () |
Destructor. | |
Static Public Member Functions | |
static Technique * | createWithProgramState (Material *parent, backend::ProgramState *state) |
Creates a new Technique with a GLProgramState. | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
|
static |
Creates a new Technique with a GLProgramState.
Method added to support legacy code
void addPass | ( | Pass * | pass | ) |
Adds a new pass to the Technique.
Order matters. First added, first rendered