Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon
Base structure for SPIR-V modules in the shader backends.
| Name | FSpirv |
| Type | struct |
| Header File | /Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvCommon.h |
| Include Path | #include "SpirvCommon.h" |
Syntax
struct FSpirv
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TArray< uint32 > | SpirvCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSpirvConstIterator begin () |
Returns a constant iterator to the first instruction in this SPIR-V module. | SpirvCommon.h | |
FSpirvIterator begin () |
Returns an iterator to the first instruction in this SPIR-V module. | SpirvCommon.h | |
FSpirvConstIterator cbegin() |
Returns a constant iterator to the first instruction in this SPIR-V module. | SpirvCommon.h | |
FSpirvConstIterator cend() |
Returns a constant iterator to the end of this SPIR-V module. | SpirvCommon.h | |
FSpirvConstIterator end () |
Returns a constant iterator to the end of this SPIR-V module. | SpirvCommon.h | |
FSpirvIterator end () |
Returns an iterator to the end of this SPIR-V module. | SpirvCommon.h | |
int8 * GetByteData () |
Returns a byte pointer to the SPIR-V data. | SpirvCommon.h | |
const int8 * GetByteData () |
Returns a byte pointer to the SPIR-V data. | SpirvCommon.h | |
int32 GetByteSize() |
Returns the size of this SPIR-V module in bytes. | SpirvCommon.h | |
uint32 GetWordOffset
(
const FSpirvConstIterator& Iter, |
Returns the word offset to the instruction the specified iterator points to plus additional operand word offset. | SpirvCommon.h |