FShaderResourceId

Uniquely identifies an [FShaderResource](API\Runtime\RenderCore\FShaderResource).

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "Shader.h"

Syntax

class FShaderResourceId

Remarks

Uniquely identifies an FShaderResource. Used to link FShaders to FShaderResources on load.

Variables

Name Description

Public variable

FSHAHash

 

OutputHash

Hash of the compiled shader output, which is used to create the FShaderResource.

Public variable

int32

 

SpecificPermutationId

Specific permutation identifier of the shader when SpecificShaderTypeName is non null, ignored otherwise.

Public variable

const TCHAR ...

 

SpecificShaderTypeName

NULL if type doesn't matter, otherwise the name of the type that this was created specifically for, which is used with geometry shader stream out.

Public variable

FString

 

SpecificShaderTypeStorage

Stores the memory for SpecificShaderTypeName if this is a standalone Id, otherwise is empty and SpecificShaderTypeName points to an FShaderType name.

Public variable

FShaderTarget

 

Target

Target platform and frequency.

Constructors

Name Description

Public function

FShaderResourceId()

Public function

FShaderResourceId

(
    const FShaderTarget& InTarget,
    const FSHAHash& InOutputHash,
    const TCHAR* InSpecificShaderT...,
    int32 InSpecificPermutationId
)

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