FGlobalBoundShaderStateResource::GetInitializedRHI

If this global bound shader state hasn't been initialized yet, initialize it.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/StaticBoundShaderState.h

Include

#include "StaticBoundShaderState.h"

Source

/Engine/Source/Runtime/RenderCore/Private/StaticBoundShaderState.cpp

Syntax

FRHIBoundShaderState * GetInitializedRHI
(
    FRHIVertexDeclaration * VertexDeclaration,
    FRHIVertexShader * VertexShader,
    FRHIPixelShader * PixelShader,
    FRHIGeometryShader * GeometryShader
)

Remarks

If this global bound shader state hasn't been initialized yet, initialize it. Initializes a global bound shader state with a vanilla bound shader state and required information.

Returns

The bound shader state RHI.

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