Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7d95ad3

Browse files
committed
Address comments
1 parent 31e8f79 commit 7d95ad3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/gpu/lib/src/buffer.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ class BufferView {
3232
/// This is useful for efficiently chunking sparse data uploads, especially
3333
/// ephemeral uniform data that needs to change from frame to frame.
3434
///
35-
/// Note: Different platforms have different data alignment requirements for
36-
/// accessing device buffer data. The [HostBuffer] takes these
37-
/// requirements into account and automatically inserts padding between
38-
/// emplaced data if necessary.
39-
class HostBuffer extends NativeFieldWrapperClass1 {
35+
/// Different platforms have different data alignment requirements for accessing
36+
/// device buffer data. The [HostBuffer] takes these requirements into account
37+
/// and automatically inserts padding between emplaced data if necessary.
38+
sealed class HostBuffer extends NativeFieldWrapperClass1 {
4039
/// Creates a new HostBuffer.
4140
HostBuffer() {
4241
_initialize();

0 commit comments

Comments
 (0)