FShaderCodeReader

Later we can transform that to the actual class passed around at the RHI level

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

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

Include

#include "ShaderCore.h"

Syntax

class FShaderCodeReader

Remarks

Later we can transform that to the actual class passed around at the RHI level

Constructors

Name Description

Public function

FShaderCodeReader

(
    TArrayView< const uint8 > InShaderC...
)

Functions

Name Description

Public function Const

const T *...

 

FindOptionalData()

For convenience

Public function Const

const ANSICH...

 

FindOptionalData

(
    uint8 InKey
)

Public function Const

const uint8 ...

 

FindOptionalData

(
    uint8 InKey,
    uint8 ValueSize
)

Public function Const

const uint8 ...

 

FindOptionalDataAndSize

(
    uint8 InKey,
    int32& OutSize
)

Returns nullptr and Size -1 if key was not found.

Public function Const

uint32

 

GetActualShaderCodeSize()

Public function

TArrayView< ...

 

GetOffsetShaderCode

(
    int32 Offset
)

Public function Const

int32

 

GetOptionalDataSize()

Public function Const

int32

 

GetShaderCodeSize()