The shaders which the render the material on a mesh generated by a particular vertex factory type.
更多...
|
| uint32 | BeginCompile (uint32 ShaderMapId, const FMaterialShaderMapId &InShaderMapId, const FMaterial *Material, const FMeshMaterialShaderMapLayout &MeshLayout, FShaderCompilerEnvironment *MaterialEnvironment, EShaderPlatform Platform, TArray< TSharedRef< FShaderCommonCompileJob, ESPMode::ThreadSafe > > &NewJobs, FString DebugDescription, FString DebugExtension) |
| | Enqueues compilation for all shaders for a material and vertex factory type. 更多...
|
| |
| void | FlushShadersByShaderPipelineType (const FShaderPipelineType *ShaderPipelineType) |
| | Removes all entries in the cache with exceptions based on a shader type 更多...
|
| |
| void | FlushShadersByShaderType (const FShaderType *ShaderType) |
| | Removes all entries in the cache with exceptions based on a shader type 更多...
|
| |
|
void | Empty () |
| | clears out all shaders and deletes shader pipelines held in the map
|
| |
|
| FShaderMapContent (EShaderPlatform InPlatform) |
| | Default constructor.
|
| |
| uint32 | GetNumShaderPipelines () const |
| |
| uint32 | GetNumShaders () const |
| |
| FShader * | GetShader (const FHashedName &TypeName, int32 PermutationId=0) const |
| | Finds the shader with the given type name. 更多...
|
| |
| template<typename ShaderType > |
| ShaderType * | GetShader (const typename ShaderType::FPermutationDomain &PermutationVector) const |
| | Finds the shader with the given type. 更多...
|
| |
| FShader * | GetShader (FShaderType *ShaderType, int32 PermutationId=0) const |
| | Finds the shader with the given type. 更多...
|
| |
| template<typename ShaderType > |
| ShaderType * | GetShader (int32 PermutationId=0) const |
| | Finds the shader with the given type. 更多...
|
| |
|
void | GetShaderList (const FShaderMapBase &InShaderMap, const FSHAHash &InMaterialShaderMapHash, TMap< FShaderId, TShaderRef< FShader > > &OutShaders) const |
| | Builds a list of the shaders in a shader map.
|
| |
| void | GetShaderList (const FShaderMapBase &InShaderMap, TMap< FHashedName, TShaderRef< FShader > > &OutShaders) const |
| | Builds a list of the shaders in a shader map. 更多...
|
| |
|
void | GetShaderPipelineList (const FShaderMapBase &InShaderMap, TArray< FShaderPipelineRef > &OutShaderPipelines, FShaderPipeline::EFilter Filter) const |
| | Builds a list of the shader pipelines in a shader map.
|
| |
|
bool | HasShader (const FHashedName &TypeName, int32 PermutationId) const |
| | Finds the shader with the given type.
|
| |
| bool | IsEmpty () const |
| |
| void | RemoveShaderTypePermutaion (const FHashedName &TypeName, int32 PermutationId) |
| | Removes the shader of the given type from the shader map 更多...
|
| |
|
| ~FShaderMapContent () |
| | Destructor ensures pipelines cleared up.
|
| |
The shaders which the render the material on a mesh generated by a particular vertex factory type.