Donner 0.5.0
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::geode::GeoEncoder::Impl Struct Reference
Collaboration diagram for donner::geode::GeoEncoder::Impl:
[legend]

Public Member Functions

void ensurePassOpen ()
 Open the render pass on demand.
void buildMvp (float *out16) const
 Build the MVP matrix from the current transform. Maps target-pixel coordinates to clip space (-1..+1 with Y down).

Public Attributes

GeodeDevicedevice
const GeodePipelinepipeline
wgpu::Texture target
wgpu::TextureView targetView
wgpu::CommandEncoder commandEncoder
uint32_t targetWidth
uint32_t targetHeight
bool passOpen = false
wgpu::RenderPassEncoder pass
wgpu::Color clearColor = {0.0, 0.0, 0.0, 0.0}
bool hasExplicitClear = false
Transform2d transform = Transform2d()

The documentation for this struct was generated from the following file:
  • donner/svg/renderer/geode/GeoEncoder.cc