Module |
|
Header |
/Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvCommon.h |
Include |
#include "SpirvCommon.h" |
template<typename T>
class TSpirvForwardIterator
Template forward iterator for SPIR-V instructions.
Name | Description | |
---|---|---|
|
TSpirvForwardIterator() |
Initializes the iterator with a null pointer. |
|
TSpirvForwardIterator ( |
|
|
TSpirvForwardIterator ( |
Initializes the iterator with the specified pointer. |
Name | Description | ||
---|---|---|---|
|
SpvOp |
Opcode() |
Returns the opcode of the current instruction. |
|
Operand ( |
Dereferences the value the current operand points to. |
|
|
TDst |
OperandAs ( |
Returns the operand as the specified reinterpreted type. |
|
const ANSICH... |
OperandAsString ( |
Returns the operand pointer as ANSI C string. |
|
WordCount() |
Returns the word count of the current instruction. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Returns whether this iterator does not point to the same address as the other iterator. |
|
|
T * |
operator*() |
Returns a pointer to the beginning of the SPIR-V instruction this iterator currently points to. |
|
TSpirvForwar... |
operator++() |
Increments the iterator to point to the next SPIR-V instruction. |
|
TSpirvForwar... |
operator++ ( |
Increments the iterator to point to the next SPIR-V instruction and returns the previous iterator state. |
|
TSpirvForwar... |
operator= ( |
|
|
operator== ( |
Returns whether this iterator points to the same address as the other iterator. |