Enum spirq::ty::Type [−][src]
pub enum Type {
Scalar(ScalarType),
Vector(VectorType),
Matrix(MatrixType),
Image(ImageType),
SampledImage(SampledImageType),
Sampler(),
SubpassData(SubpassDataType),
Array(ArrayType),
Struct(StructType),
AccelStruct(),
}Variants
Scalar(ScalarType)A single value, which can be a signed or unsigned integer, a floating point number, or a boolean value.
Vector(VectorType)A collection of scalars.
Matrix(MatrixType)A collection of vectors.
Image(ImageType)An unsampled image, with no sampler state combined. Such design is preferred in DirectX.
SampledImage(SampledImageType)A sampled image externally combined with a sampler state. Such design is preferred in legacy OpenGL.
Separable sampler state.
SubpassData(SubpassDataType)Pixel store from input attachments.
Array(ArrayType)Repetition of a single type.
Struct(StructType)Aggregation of types.
Acceleration structure for ray-tracing. Only available with
RayTracingKHR capability enabled.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Typeimpl UnwindSafe for TypeBlanket Implementations
Mutably borrows from an owned value. Read more