|
Axmol 3.0.0-89d6d9a
|
#include <Technique.h>
Inherits Object.
Public Member Functions | |
| void | addPass (Pass *pass) |
| Adds a new pass to the Technique. | |
| std::string_view | 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. | |
| Public Member Functions inherited from Object | |
| 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. | |
| uint64_t | getObjectID () const noexcept |
| Returns the process-local diagnostic identifier assigned at construction. | |
| virtual | ~Object () |
| Destructor. | |
Static Public Member Functions | |
| static Technique * | createWithProgramState (Material *parent, rhi::ProgramState *state) |
| Creates a new Technique with a ProgramState. | |
|
static |
Creates a new Technique with a ProgramState.
Method added to support legacy code
| void addPass | ( | Pass * | pass | ) |
Adds a new pass to the Technique.
Order matters. First added, first rendered