FMeshMaterialShader

Base class of all shaders that need material and vertex factory parameters.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FMaterialShader

FMeshMaterialShader

References

Module

Renderer

Header

/Engine/Source/Runtime/Renderer/Public/MeshMaterialShader.h

Include

#include "MeshMaterialShader.h"

Syntax

class FMeshMaterialShader : public FMaterialShader

Remarks

Base class of all shaders that need material and vertex factory parameters.

Variables

Name Description

Protected variable

FShaderUniformB ...

 

PassUniformBuffer

Constructors

Functions

Name Description

Public function Static

void

 

GetElementShaderBindings

(
    const TShaderRefBase < ShaderType, P...,
    const FScene* Scene,
    const FSceneView * ViewIfDynami...,
    const FVertexFactory * VertexFa...,
    const EVertexInputStreamType InputS...,
    ERHIFeatureLevel::Type FeatureLevel,
    const FPrimitiveSceneProxy * Pr...,
    const FMeshBatch & MeshBatch,
    const FMeshBatchElement & BatchElem...,
    const ShaderElementDataType& Shade...,
    FMeshDrawSingleShaderBindings & Sha...,
    FVertexInputStreamArray & VertexStr...
)

Public function Const

void

 

GetElementShaderBindings

(
    const FShaderMapPointerTable & Poin...,
    const FScene* Scene,
    const FSceneView * ViewIfDynami...,
    const FVertexFactory * VertexFa...,
    const EVertexInputStreamType InputS...,
    const FStaticFeatureLevel FeatureLe...,
    const FPrimitiveSceneProxy * Pr...,
    const FMeshBatch & MeshBatch,
    const FMeshBatchElement & BatchElem...,
    const FMeshMaterialShaderElementDat ...,
    FMeshDrawSingleShaderBindings & Sha...,
    FVertexInputStreamArray & VertexStr...
)

Public function Const

void

 

GetShaderBindings

(
    const FScene* Scene,
    ERHIFeatureLevel::Type FeatureLevel,
    const FPrimitiveSceneProxy * Pr...,
    const FMaterialRenderProxy & Materi...,
    const FMaterial & Material,
    const FMeshPassProcessorRenderState ...,
    const FMeshMaterialShaderElementDat ...,
    FMeshDrawSingleShaderBindings & Sha...
)

Public function Const

const FTypeL ...

 

GetTypeLayout()

Public function Static

FTypeLayoutD ...

 

StaticGetTypeLayout()

Classes

Name

Description

Public struct

InternalLinkType

Typedefs

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