Graphics class that represents the techniques used in rendering.
More...
Graphics class that represents the techniques used in rendering.
◆ GetByEnum()
AbstractRenderTechnique * Nz::RenderTechniques::GetByEnum |
( |
RenderTechniqueType |
renderTechnique, |
|
|
int * |
techniqueRanking = nullptr |
|
) |
| |
|
static |
Gets the technique by enumeration.
- Returns
- A reference to the newly created technique
- Parameters
-
renderTechnique | Enumeration of the technique |
techniqueRanking | Ranking for the technique |
◆ GetByIndex()
AbstractRenderTechnique * Nz::RenderTechniques::GetByIndex |
( |
unsigned int |
index, |
|
|
int * |
techniqueRanking = nullptr |
|
) |
| |
|
static |
Gets the technique by index.
- Returns
- A reference to the newly created technique
- Parameters
-
index | Index of the technique |
techniqueRanking | Ranking for the technique |
◆ GetByName()
Gets the technique by name.
- Returns
- A reference to the newly created technique
- Parameters
-
name | Name of the technique |
techniqueRanking | Ranking for the technique |
◆ GetByRanking()
Gets the technique by ranking.
- Returns
- A reference to the newly created technique
- Parameters
-
maxRanking | Ranking maximum of the technique |
techniqueRanking | Ranking for the technique |
◆ GetCount()
std::size_t Nz::RenderTechniques::GetCount |
( |
| ) |
|
|
static |
Gets the number of techniques available.
- Returns
- Number of techniques
◆ Register()
void Nz::RenderTechniques::Register |
( |
const String & |
name, |
|
|
int |
ranking, |
|
|
RenderTechniqueFactory |
factory |
|
) |
| |
|
static |
Registers a technique.
- Parameters
-
name | Name of the technique |
ranking | Ranking of the technique |
factory | Factory to create the technique |
◆ ToString()
String Nz::RenderTechniques::ToString |
( |
RenderTechniqueType |
renderTechnique | ) |
|
|
static |
Converts the enumeration to string.
- Returns
- String symbolizing the technique
- Parameters
-
renderTechnique | Enumeration of the technique |
◆ Unregister()
void Nz::RenderTechniques::Unregister |
( |
const String & |
name | ) |
|
|
static |
Unregisters a technique.
- Parameters
-
name | Name of the technique |
The documentation for this class was generated from the following files: