Struct SPIRVariable

Inheritance Relationships

Base Type

Struct Documentation

struct SPIRVariable : public SPIRV_CROSS_NAMESPACE::IVariant

Public Types

enum [anonymous]

Values:

enumerator type

Public Functions

SPIRVariable() = default
inline SPIRVariable(TypeID basetype_, spv::StorageClass storage_, ID initializer_ = 0, VariableID basevariable_ = 0)

Public Members

TypeID basetype = 0
spv::StorageClass storage = spv::StorageClassGeneric
uint32_t decoration = 0
ID initializer = 0
VariableID basevariable = 0
SmallVector<uint32_t> dereference_chain
bool compat_builtin = false
bool statically_assigned = false
ID static_expression = 0
SmallVector<ID> dependees
bool deferred_declaration = false
bool phi_variable = false
bool allocate_temporary_copy = false
bool remapped_variable = false
uint32_t remapped_components = 0
BlockID dominator = 0
bool loop_variable = false
bool loop_variable_enable = false
SPIRFunction::Parameter *parameter = nullptr