FSpirv

Base structure for SPIR-V modules in the shader backends.

Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon

References

   
Module ShaderCompilerCommon
Header /Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvCommon.h
Include #include "SpirvCommon.h"

Syntax

struct FSpirv  

Remarks

Base structure for SPIR-V modules in the shader backends.

Variables

Type Name Description
TArray< uint32 ... Data  

Functions

Type Name Description
FSpirvConstI... begin () Returns a constant iterator to the first instruction in this SPIR-V module.
FSpirvIterat... begin () Returns an iterator to the first instruction in this SPIR-V module.
FSpirvConstI... cbegin () Returns a constant iterator to the first instruction in this SPIR-V module.
FSpirvConstI... cend () Returns a constant iterator to the end of this SPIR-V module.
FSpirvConstI... end () Returns a constant iterator to the end of this SPIR-V module.
FSpirvIterat... end () Returns an iterator to the end of this SPIR-V module.
int8 * GetByteData () Returns a byte pointer to the SPIR-V data.
const int8 &... GetByteData () Returns a byte pointer to the SPIR-V data.
int32 GetByteSize () Returns the size of this SPIR-V module in bytes.
uint32 GetWordOffset ( const FSpirvConstIterator& Iter, uint32 OperandWordOffset ) Returns the word offset to the instruction the specified iterator points to plus additional operand word offset.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library