|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Immutable type model for the donner::gpu::shader IR.
More...
#include <cstdint>#include <memory>#include <ostream>#include <span>#include <string>#include <vector>#include "donner/base/RcString.h"#include "donner/gpu/shader/ShaderResult.h"Classes | |
| class | donner::gpu::shader::IrType |
| An immutable shader IR type with deep value equality. More... | |
| struct | donner::gpu::shader::IrType::Member |
| One named member of a struct type. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Enumerations | |
| enum class | donner::gpu::shader::ScalarKind : uint8_t { Bool , I32 , U32 , F32 } |
| Scalar component types. More... | |
| enum class | donner::gpu::shader::StorageTextureFormat : uint8_t { Rgba8Unorm } |
| Texel format of a write-only storage texture. Only the format the filter pipelines write is modeled; every backend supports it as a storage-image format without an extended-format capability. More... | |
Functions | |
| std::ostream & | donner::gpu::shader::operator<< (std::ostream &os, ScalarKind value) |
| Ostream output operator, e.g. | |
| std::ostream & | donner::gpu::shader::operator<< (std::ostream &os, StorageTextureFormat value) |
| Ostream output operator, e.g. | |
Immutable type model for the donner::gpu::shader IR.
The type surface covers exactly what Donner's pipeline families require: scalars, vectors, mat4x4f, sized and runtime arrays, structs, and the texture_2d<f32> / sampler / write-only storage texture resource types. Types are immutable values with deep equality, so identical types compare equal deterministically regardless of construction order.
| struct donner::gpu::shader::IrType::Member |
|
strong |
|
strong |
| std::ostream & donner::gpu::shader::operator<< | ( | std::ostream & | os, |
| ScalarKind | value ) |
Ostream output operator, e.g.
f32.
| os | Output stream. |
| value | Value to output. |
| std::ostream & donner::gpu::shader::operator<< | ( | std::ostream & | os, |
| StorageTextureFormat | value ) |
Ostream output operator, e.g.
rgba8unorm.
| os | Output stream. |
| value | Value to output. |