![]() |
XII Release 0.1.0
|
Copyright (c) Theophilus Eriata. All Rights Reserved. More...
#include <ShaderManager.h>
Static Public Member Functions | |
| static void | Configure (xiiStringView sActivePlatform, bool bEnableRuntimeCompilation, xiiStringView sShaderCacheDirectory=":shadercache/ShaderCache"_xiisv, xiiStringView sPermutationVariableSubDirectory="Shaders/PermutationVariables"_xiisv) |
| static const xiiString & | GetPermutationVarSubDirectory () |
| static const xiiString & | GetActivePlatform () |
| static const xiiString & | GetCacheDirectory () |
| static bool | IsRuntimeCompilationEnabled () |
| static bool | IsInitialized () |
| static void | ReloadPermutationVarConfig (xiiStringView sName, const xiiTempHashedString &sHashedName) |
| static bool | IsPermutationValueAllowed (xiiStringView sName, const xiiTempHashedString &sHashedName, const xiiTempHashedString &sValue, xiiHashedString &out_sName, xiiHashedString &out_sValue) |
| static bool | IsPermutationValueAllowed (const xiiHashedString &sName, const xiiHashedString &sValue) |
| static xiiArrayPtr< const xiiGALShaderParser::EnumValue > | GetPermutationEnumValues (const xiiHashedString &sName) |
| static void | GetPermutationValues (const xiiHashedString &sName, xiiDynamicArray< xiiHashedString > &out_values) |
| static xiiUInt32 | FilterPermutationVariables (xiiArrayPtr< const xiiHashedString > usedVariables, const xiiHashTable< xiiHashedString, xiiHashedString > &permutationVariables, xiiDynamicArray< xiiGALPermutationVariable > &out_FilteredPermutationVariables) |
Copyright (c) Theophilus Eriata. All Rights Reserved.
|
static |
If the given permutation variable is an enum variable, this returns the possible values. Returns an empty array for other types of permutation variables.
|
static |
Same as GetPermutationEnumValues() but also returns values for other types of variables. E.g. returns TRUE and FALSE for boolean variables.