Skip to content

impr: Unify TgpuMutable and TgpuBufferMutable (and the Readonly versions) #2454

Description

@reczkok

Intuitively calling:

const countMutable = root.createBuffer(d.u32).$usage('storage').as('mutable');

should be equivalent to calling:

const countMutable = root.createMutable(d.u32);

But the types are entirely different

Metadata

Metadata

Labels

enhancementNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions