Struct SPIRType

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Struct Documentation

struct SPIRType : public SPIRV_CROSS_NAMESPACE::IVariant

Public Types

enum [anonymous]

Values:

enumerator type
enum BaseType

Values:

enumerator Unknown
enumerator Void
enumerator Boolean
enumerator SByte
enumerator UByte
enumerator Short
enumerator UShort
enumerator Int
enumerator UInt
enumerator Int64
enumerator UInt64
enumerator AtomicCounter
enumerator Half
enumerator Float
enumerator Double
enumerator Struct
enumerator Image
enumerator SampledImage
enumerator Sampler
enumerator AccelerationStructure
enumerator RayQuery
enumerator ControlPointArray
enumerator Interpolant
enumerator Char

Public Functions

inline explicit SPIRType(spv::Op op_)

Public Members

spv::Op op = spv::Op::OpNop
BaseType basetype = Unknown
uint32_t width = 0
uint32_t vecsize = 1
uint32_t columns = 1
SmallVector<uint32_t> array
SmallVector<bool> array_size_literal
uint32_t pointer_depth = 0
bool pointer = false
bool forward_pointer = false
spv::StorageClass storage = spv::StorageClassGeneric
SmallVector<TypeID> member_types
SmallVector<uint32_t> member_type_index_redirection
struct SPIRV_CROSS_NAMESPACE::SPIRType::ImageType image = {}
TypeID type_alias = 0
TypeID parent_type = 0
std::unordered_set<std::string> member_name_cache
struct ImageType

Public Members

TypeID type
spv::Dim dim
bool depth
bool arrayed
bool ms
uint32_t sampled
spv::ImageFormat format
spv::AccessQualifier access