Navigation
API > API/Runtime > API/Runtime/Engine
A shader meta type for material-linked shaders which use a vertex factory.
| Name | FMeshMaterialShaderType |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/MeshMaterialShaderType.h |
| Include Path | #include "MeshMaterialShaderType.h" |
Syntax
class FMeshMaterialShaderType : public FShaderType
Inheritance Hierarchy
- FShaderType → FMeshMaterialShaderType
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshMaterialShaderType
(
FTypeLayoutDesc& InTypeLayout, |
MeshMaterialShaderType.h |
Structs
| Name | Remarks |
|---|---|
| CompiledShaderInitializerType |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginCompileShader
(
EShaderCompileJobPriority Priority, |
Enqueues a compilation for a new shader of this type. | MeshMaterialShaderType.h | |
FShader * FinishCompileShader
(
const FUniformExpressionSet& UniformExpressionSet, |
Either creates a new instance of this type or returns an equivalent existing shader. | MeshMaterialShaderType.h | |
void SetupCompileEnvironment
(
EShaderPlatform Platform, |
Sets up the environment used to compile an instance of this shader type. | MeshMaterialShaderType.h | |
bool ShouldCompilePermutation
(
EShaderPlatform Platform, |
Checks if the shader type should be cached for a particular platform, material, and vertex factory type. | MeshMaterialShaderType.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BeginCompileShaderPipeline
(
EShaderCompileJobPriority Priority, |
MeshMaterialShaderType.h | ||
static bool ShouldCompilePipeline
(
const FShaderPipelineType* ShaderPipelineType, |
MeshMaterialShaderType.h | ||
static bool ShouldCompileVertexFactoryPermutation
(
EShaderPlatform Platform, |
MeshMaterialShaderType.h | ||
static bool ShouldCompileVertexFactoryPipeline
(
const FShaderPipelineType* ShaderPipelineType, |
MeshMaterialShaderType.h |