|
static void | Configure (const char *szActivePlatform, bool bEnableRuntimeCompilation, const char *szShaderCacheDirectory=":shadercache/ShaderCache", const char *szPermVarSubDirectory="Shaders/PermutationVars") |
|
static const plString & | GetPermutationVarSubDirectory () |
|
static const plString & | GetActivePlatform () |
|
static const plString & | GetCacheDirectory () |
|
static bool | IsRuntimeCompilationEnabled () |
|
static void | ReloadPermutationVarConfig (const char *szName, const plTempHashedString &sHashedName) |
|
static bool | IsPermutationValueAllowed (const char *szName, const plTempHashedString &sHashedName, const plTempHashedString &sValue, plHashedString &out_sName, plHashedString &out_sValue) |
|
static bool | IsPermutationValueAllowed (const plHashedString &sName, const plHashedString &sValue) |
|
static plArrayPtr< const plShaderParser::EnumValue > | GetPermutationEnumValues (const plHashedString &sName) |
| 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 void | GetPermutationValues (const plHashedString &sName, plDynamicArray< plHashedString > &out_values) |
| Same as GetPermutationEnumValues() but also returns values for other types of variables. E.g. returns TRUE and FALSE for boolean variables.
|
|
static void | PreloadPermutations (plShaderResourceHandle hShader, const plHashTable< plHashedString, plHashedString > &permVars, plTime shouldBeAvailableIn) |
|
static plShaderPermutationResourceHandle | PreloadSinglePermutation (plShaderResourceHandle hShader, const plHashTable< plHashedString, plHashedString > &permVars, bool bAllowFallback) |
|
The documentation for this class was generated from the following files:
- Code/Engine/RendererCore/ShaderCompiler/ShaderManager.h
- Code/Engine/RendererCore/ShaderCompiler/Implementation/ShaderManager.cpp