FShaderCommonCompileJob

Stores all of the common information used to compile a shader or pipeline.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h

Include

#include "ShaderCompiler.h"

Syntax

class FShaderCommonCompileJob : public TIntrusiveLinkedList< FShaderCommonCompileJob >

Remarks

Stores all of the common information used to compile a shader or pipeline.

Variables

Name Description

Public variable

uint8: 1

 

bFinalized

True if the results of the shader compile have been processed.

Public variable

uint8: 1

 

bInputHashSet

Whether we hashed the inputs

Public variable

uint8: 1

 

bReleased

True if the results of the shader compile have been released from the FShaderCompilerManager.

Public variable

uint8: 1

 

bSucceeded

Output of the shader compile

Public variable

EShaderCompiler...

 

CurrentWorker

Public variable

uint32

 

Hash

Public variable

uint32

 

Id

Id of the shader map this shader belongs to.

Public variable

FSHAHash

 

InputHash

Hash of all the job inputs

Public variable

int32

 

JobIndex

Public variable

FThreadSafeCoun...

 

NumRefs

Public variable

EShaderCompileJ...

 

PendingPriority

Public variable

FPendingShaderM...

 

PendingShaderMap

Public variable

EShaderCompileJ...

 

Priority

Public variable

EShaderCompileJ...

 

Type

Constructors

Name Description

Protected function

FShaderCommonCompileJob

(
    EShaderCompileJobType InType,
    uint32 InHash,
    uint32 InId,
    EShaderCompileJobPriority InPriroit...
)

Destructors

Name Description

Protected function Virtual

~FShaderCommonCompileJob()

Functions

Name Description

Public function Const

uint32

 

AddRef()

Public function Const

bool

 

Equals

(
    const FShaderCommonCompileJob& Rhs
)

Public function Virtual

FSHAHash

 

GetInputHash()

Returns hash of all inputs for this job (needed for caching).

Public function Static

uint32

 

GetNextJobId()

This returns a unique id for a shader compiler job

Public function Const

uint32

 

GetRefCount()

Public function

FShaderPipel...

 

GetShaderPipelineJob()

Public function Const

const FShade...

 

GetShaderPipelineJob()

Public function

FShaderCompi...

 

GetSingleShaderJob()

Public function Const

const FShade...

 

GetSingleShaderJob()

Public function Const

uint32

 

Release()

Public function Virtual

void

 

SerializeOutput

(
    FArchive& Ar
)

Serializes (and deserializes) the output for caching purposes.

Constants

Name

Description

JobIdCounter

Value counter for job ids.

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