FMeshMaterialShaderMap

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

Windows
MacOS
Linux

Inheritance Hierarchy

FShaderMapContent

FMeshMaterialShaderMap

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Syntax

class FMeshMaterialShaderMap : public FShaderMapContent

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,
    const FMeshMaterialShaderMapLayout ...,
    FShaderCompilerEnvironment * Ma...,
    EShaderPlatform Platform,
    TArray < TSharedRef < FShaderCommonCo ...,
    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

(
    const FShaderType * ShaderType
)

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

Public function Const

const FTypeL ...

 

GetTypeLayout()

Public function Const

const FHashe ...

 

GetVertexFactoryTypeName()

Accessors.

Public function

void

 

LoadMissingShadersFromMemory

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

Public function Static

FTypeLayoutD ...

 

StaticGetTypeLayout()

Classes

Name

Description

Public struct

InternalLinkType

Typedefs

Name

Description

DerivedType

InternalBaseType

Constants

Name

Description

CounterBase

InterfaceType

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