FMeshMaterialShaderMap

The shaders which the render the material on a mesh generated by a particular vertex factory type.

Windows
MacOS
Linux

Inheritance Hierarchy

TShaderMap

FMeshMaterialShaderMap

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

class FMeshMaterialShaderMap : public TShaderMap< FMeshMaterialShaderType >

Remarks

The shaders which the render the material on a mesh generated by a particular vertex factory type.

Constructors

Name Description

Public function

FMeshMaterialShaderMap

(
    EShaderPlatform InPlatform,
    FVertexFactoryType* InVFType
)

Functions

Name Description

Public function

uint32

 

BeginCompile

(
    uint32 ShaderMapId,
    const FMaterialShaderMapId& InShad...,
    const FMaterial* Material,
    FShaderCompilerEnvironment* Ma...,
    EShaderPlatform Platform,
    TArray< FShaderCommonCompileJob...,
    FString DebugDescription,
    FString DebugExtension
)

Enqueues compilation for all shaders for a material and vertex factory type.

Public function

void

 

FlushShadersByShaderPipelineType

(
    const FShaderPipelineType* Sha...
)

Removes all entries in the cache with exceptions based on a shader type

Public function

void

 

FlushShadersByShaderType

(
    FShaderType* ShaderType
)

Removes all entries in the cache with exceptions based on a shader type

Public function Const

FVertexFacto...

 

GetVertexFactoryType()

Accessors.

Public function Static

bool

 

IsComplete

(
    const FMeshMaterialShaderMap* ...,
    EShaderPlatform Platform,
    const FMaterial* Material,
    FVertexFactoryType* InVertexFa...,
    bool bSilent
)

Checks whether a material shader map is missing any shader types necessary for the given material.

Public function

void

 

LoadMissingShadersFromMemory

(
    const FSHAHash& MaterialShaderMapH...,
    const FMaterial* Material,
    EShaderPlatform Platform
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback