GpuSplatSource class

flutter_gpu texture storage for packed splat and draw-order data.

Constructors

GpuSplatSource()

Properties

atlas Texture?
Packed RGBA32F splat atlas.
getter/setter pair
atlasHeight int
Current atlas texture height.
no setter
colorTexture Texture?
Base RGBA color texture.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
orderHeight int
Current allocated order texture height.
no setter
orderTexture Texture?
Packed RGBA8 order texture, little-endian uint32 per texel.
getter/setter pair
quatTexture Texture?
Quaternion bytes as RGBA8.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shHeight int
Current SH texture height.
no setter
shTexture Texture?
SH residual bytes as RGBA8, 12 texels per splat.
getter/setter pair
sidecarHeight int
Current quaternion/color texture height.
no setter
splatCount int
Number of uploaded splats.
getter/setter pair

Methods

dispose() → void
Releases Dart-side staging buffers. Native texture lifetime is owned by the underlying flutter_gpu handles.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadOrder(Uint32List indices) → void
Uploads the sorted splat order as little-endian RGBA8 texels.
uploadSplats(Uint8List buffer) → void
Uploads raw 128-byte-per-splat data into the flutter_gpu atlas.

Operators

operator ==(Object other) bool
The equality operator.
inherited