Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::wgsl::Expression Struct Reference

One typed expression node. Operands are in source order. More...

#include "donner/gpu/shader/wgsl/Module.h"

Public Attributes

ExpressionKind kind = ExpressionKind::Literal
 Node category.
Type type
 Statically resolved result type.
SourceSpan span
 Source bytes covering this expression.
std::array< ArenaId, kMaxOperands > operands = Operands()
 Child expressions.
uint8_t operandCount = 0
 Number of valid operands.
uint32_t payload = 0
 Kind-specific bits or arena identifier.
uint32_t literalHighBits = 0
 Upper bits for abstract scalar literals.

Static Public Attributes

static constexpr uint8_t kMaxOperands = kMaxExpressionOperands
 Alias of kMaxExpressionOperands.

Detailed Description

One typed expression node. Operands are in source order.


The documentation for this struct was generated from the following file: