Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FShaderType
- FMaterialShaderType
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MaterialShaderType.h |
Include | #include "MaterialShaderType.h" |
Syntax
class FMaterialShaderType : public FShaderType
Remarks
A shader meta type for material-linked shaders.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMaterialShaderType
(
FTypeLayoutDesc& InTypeLayout, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginCompileShader
(
EShaderCompileJobPriority Priority, |
Enqueues a compilation for a new shader of this type. |
![]() ![]() |
void | BeginCompileShaderPipeline
(
EShaderCompileJobPriority Priority, |
|
![]() ![]() |
FShader * | FinishCompileShader
(
const FUniformExpressionSet& UniformExpressionSet, |
Either creates a new instance of this type or returns an equivalent existing shader. |
![]() ![]() |
void | SetupCompileEnvironment
(
EShaderPlatform Platform, |
Sets up the environment used to compile an instance of this shader type. |
![]() ![]() |
bool | ShouldCompilePermutation
(
EShaderPlatform Platform, |
Checks if the shader type should be cached for a particular platform and material. |
![]() ![]() |
bool | ShouldCompilePipeline
(
const FShaderPipelineType* ShaderPipelineType, |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
CompiledShaderInitializerType |