Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::geode::GeodeClipUniform Struct Reference

A batch-level uniform kept across frames for one occurrence of a repeated draw (see GeodeOccurrenceRecords): a range of a geometry slab chunk, named by identity like a slab allocation, and the bytes last written to it, so an unchanged frame writes nothing. More...

#include "donner/svg/renderer/geode/GeodeResidentPathComponent.h"

Public Attributes

gpu::BufferRef buffer
 Borrowed chunk identity; the slab owns the buffer.
uint64_t bufferId = 0
 Stable identity of buffer.
uint64_t offset = 0
 Byte offset of the range in buffer.
uint64_t size = 0
 Bytes of the range; 0 until it is allocated.
std::vector< uint8_t > lastBytes
 Bytes last written to the range.

Detailed Description

A batch-level uniform kept across frames for one occurrence of a repeated draw (see GeodeOccurrenceRecords): a range of a geometry slab chunk, named by identity like a slab allocation, and the bytes last written to it, so an unchanged frame writes nothing.

Member Data Documentation

◆ buffer

gpu::BufferRef donner::geode::GeodeClipUniform::buffer

Borrowed chunk identity; the slab owns the buffer.

◆ bufferId

uint64_t donner::geode::GeodeClipUniform::bufferId = 0

Stable identity of buffer.

◆ lastBytes

std::vector<uint8_t> donner::geode::GeodeClipUniform::lastBytes

Bytes last written to the range.

◆ offset

uint64_t donner::geode::GeodeClipUniform::offset = 0

Byte offset of the range in buffer.

◆ size

uint64_t donner::geode::GeodeClipUniform::size = 0

Bytes of the range; 0 until it is allocated.


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