Navigation
API > API/Developer > API/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 | |
|---|---|---|---|
| FSpirvConstIterator | begin () |
Returns a constant iterator to the first instruction in this SPIR-V module. | |
| FSpirvIterator | begin () |
Returns an iterator to the first instruction in this SPIR-V module. | |
| FSpirvConstIterator | cbegin () |
Returns a constant iterator to the first instruction in this SPIR-V module. | |
| FSpirvConstIterator | cend () |
Returns a constant iterator to the end of this SPIR-V module. | |
| FSpirvConstIterator | end () |
Returns a constant iterator to the end of this SPIR-V module. | |
| FSpirvIterator | 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, |
Returns the word offset to the instruction the specified iterator points to plus additional operand word offset. |