FMeshDrawCommand::SetShaders

Sets shaders on the mesh draw command and allocates room for the shader bindings.

Windows
MacOS
Linux

References

Module

Renderer

Header

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

Include

#include "MeshPassProcessor.h"

Source

/Engine/Source/Runtime/Renderer/Private/MeshPassProcessor.cpp

Syntax

void SetShaders
(
    FRHIVertexDeclaration * VertexDeclaration,
    const FMeshProcessorShaders & Shaders,
    FGraphicsMinimalPipelineStateInitializer & PipelineState
)

Remarks

Sets shaders on the mesh draw command and allocates room for the shader bindings.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss