FShaderMapResource

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RenderCore

Header

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

Include

#include "Shader.h"

Syntax

class FShaderMapResource :
    public FRenderResource,
    public FDeferredCleanupInterface

Constructors

Name Description

Protected function

FShaderMapResource

(
    EShaderPlatform InPlatform,
    int32 NumShaders
)

Destructors

Name Description

Protected function Virtual

~FShaderMapResource()

Functions

Name Description

Public function

void

 

AddRef()

Public function Static

bool

 

ArePlatformsCompatible

(
    EShaderPlatform CurrentPlatform,
    EShaderPlatform TargetPlatform
)

Public function

void

 

BeginCreateAllShaders()

Protected function

TRefCountPtr...

 

CreateRHIShader

(
    int32 ShaderIndex
)

Protected function

void

 

CreateShader

(
    int32 ShaderIndex
)

Protected function Const

uint32

 

GetAllocatedSize()

Public function Const

int32

 

GetNumRefs()

Public function Const

int32

 

GetNumShaders()

Public function Const

EShaderPlatf...

 

GetPlatform()

Public function

FRHIShader &...

 

GetShader

(
    int32 ShaderIndex
)

Public function Const

uint32

 

GetSizeBytes()

Public function Const

bool

 

HasShader

(
    int32 ShaderIndex
)

Public function

void

 

Release()

Protected function Virtual

bool

 

TryRelease()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

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