FHlslccHeaderWriter

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/HlslccHeaderWriter.h

Include

#include "HlslccHeaderWriter.h"

Syntax

class FHlslccHeaderWriter

Functions

Name Description

Public function Static

EPackedTypeN...

 

EncodePackedGlobalType

(
    const SpvReflectTypeDescription& T...,
    bool bHalfPrecision
)

Public function Const

FString

 

ToString()

Returns the finalized meta data.

Public function

void

 

WriteAccelerationStructures

(
    const TCHAR* ResourceName,
    uint32 BindingIndex
)

Public function

void

 

WriteArgumentBuffers

(
    uint32 BindingIndex,
    const TArray< uint32 >& ResourceIn...
)

Public function

void

 

WriteCompilerInfo

(
    const TCHAR* CompilerName
)

Public function

void

 

WriteInputAttribute

(
    const TCHAR* AttributeName,
    const TCHAR* TypeSpecifier,
    int32 Location,
    bool bLocationPrefix,
    bool bLocationSuffix
)

Public function

void

 

WriteInputAttribute

(
    const SpvReflectInterfaceVariable&...
)

Public function

void

 

WriteNumThreads

(
    uint32 NumThreadsX,
    uint32 NumThreadsY,
    uint32 NumThreadsZ
)

Public function

void

 

WriteOutputAttribute

(
    const TCHAR* AttributeName,
    const TCHAR* TypeSpecifier,
    int32 Location,
    bool bLocationPrefix,
    bool bLocationSuffix
)

Public function

void

 

WriteOutputAttribute

(
    const SpvReflectInterfaceVariable&...
)

Public function

void

 

WritePackedGlobal

(
    const TCHAR* ResourceName,
    EPackedTypeName PackedType,
    uint32 ByteOffset,
    uint32 ByteSize
)

Public function

void

 

WritePackedGlobal

(
    const SpvReflectBlockVariable& Var...
)

Public function

void

 

WritePackedUB

(
    const FString& UBName,
    uint32 BindingIndex
)

Public function

void

 

WritePackedUB

(
    uint32 BindingIndex
)

Public function

void

 

WritePackedUBCopy

(
    uint32 SourceCB,
    uint32 SourceOffset,
    uint32 DestCBIndex,
    uint32 DestCBPrecision,
    uint32 DestOffset,
    uint32 Size,
    bool bGroupFlattenedUBs
)

Public function

void

 

WritePackedUBField

(
    const FString& UBName,
    const TCHAR* ResourceName,
    uint32 ByteOffset,
    uint32 ByteSize
)

Public function

void

 

WritePackedUBField

(
    const TCHAR* ResourceName,
    uint32 ByteOffset,
    uint32 ByteSize
)

Public function

void

 

WritePackedUBGlobalCopy

(
    uint32 SourceCB,
    uint32 SourceOffset,
    uint32 DestCBIndex,
    uint32 DestCBPrecision,
    uint32 DestOffset,
    uint32 Size,
    bool bGroupFlattenedUBs
)

Public function

void

 

WriteSamplerState

(
    const TCHAR* ResourceName,
    uint32 BindingIndex
)

Public function

void

 

WriteSideTable

(
    const TCHAR* ResourceName,
    uint32 SideTableIndex
)

Public function

void

 

WriteSourceInfo

(
    const TCHAR* SourceName,
    const TCHAR* EntryPointName,
    const TCHAR* DebugGroupName
)

Public function

void

 

WriteSRV

(
    const TCHAR* ResourceName,
    uint32 BindingIndex,
    uint32 Count,
    const TArray< FString >& Associate...
)

Public function

void

 

WriteSRV

(
    const TCHAR* ResourceName,
    uint32 BindingIndex,
    uint32 Count
)

Public function

void

 

WriteUAV

(
    const TCHAR* ResourceName,
    uint32 BindingIndex,
    uint32 Count
)

Public function

void

 

WriteUniformBlock

(
    const TCHAR* ResourceName,
    uint32 BindingIndex
)