Struct SPIRVariable
Defined in File spirv_common.hpp
Inheritance Relationships
Base Type
public SPIRV_CROSS_NAMESPACE::IVariant
(Struct IVariant)
Struct Documentation
-
struct SPIRVariable : public SPIRV_CROSS_NAMESPACE::IVariant
-
Public Functions
-
SPIRVariable() = default
-
inline SPIRVariable(TypeID basetype_, spv::StorageClass storage_, ID initializer_ = 0, VariableID basevariable_ = 0)
Public Members
-
spv::StorageClass storage = spv::StorageClassGeneric
-
uint32_t decoration = 0
-
VariableID basevariable = 0
-
SmallVector<uint32_t> dereference_chain
-
bool compat_builtin = false
-
bool statically_assigned = false
-
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
-
bool loop_variable = false
-
bool loop_variable_enable = false
-
bool is_written_to = false
-
SPIRFunction::Parameter *parameter = nullptr
-
SPIRVariable() = default