Skip to content

Releases: software-mansion/TypeGPU

v0.3.2

15 Jan 15:37
Compare
Choose a tag to compare

What's Changed

Documentation

Full Changelog: v0.3.1...v0.3.2

v0.3.1

15 Jan 14:08
b21791a
Compare
Choose a tag to compare

What's Changed

Unstable features (experimental)

  • Auto-use all struct types in the shell of WGSL-implemented functions by @mhawryluk in #752
  • Fix replacing object access identifiers in replaceExternalsInWgsl by @mhawryluk in #766
  • Remove experimental module by @mhawryluk in #782

Note

Unstable (experimental) features are now exported by the library and accessible through ['~unstable'] property or marked with "unstable_" prefix. Use with caution, API is sure to change.

Documentation

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

10 Jan 12:59
Compare
Choose a tag to compare

0.2 -> 0.3 Migration

  • Typed bind groups are now creating using root.createBindGroup(layout, ...) instead of layout.populate(...)
  • Size of schemas can be retrieved using sizeOf(...) instead of .size
  • Alignment of schemas can be retrieved using alignmentOf(...) instead of .byteAlignment
  • To copy a buffer into another buffer, use the .copyFrom API instead of .write

Features

Bug fixes

Documentation

Internal DX

Experimental

New Contributors

Full Changelog: v0.2.2...v0.3.0

v0.2.2

21 Dec 21:54
Compare
Choose a tag to compare

What's Changed

  • fix: Raised minimum required typed-binary version to avoid regression. by @iwoplaza in #704

Full Changelog: v0.2.1...v0.2.2

v0.2.1

21 Dec 13:54
ed3709e
Compare
Choose a tag to compare

What's Changed

  • fix: Export TgpuRoot type, and narrower init return type. by @iwoplaza in #700

Full Changelog: v0.2.0...v0.2.1

v0.2.0

29 Oct 15:31
d895543
Compare
Choose a tag to compare

What's Changed

Documentation

Internal Changes

Full Changelog: v0.1.3...v0.2.0

v0.1.3

30 Sep 11:14
Compare
Choose a tag to compare

What's Changed

  • impr: ResolutionCtx refactor by @iwoplaza in #323
  • Callable primitives by @reczkok in #343
  • Make structures impose byte alignment, instead of the primitives doing it themselves by @mhawryluk in #368
  • Added utility functions to check schema types. by @iwoplaza in #397

Docs

Internal DX/Chore

Full Changelog: v0.1.2...v0.1.3

v0.1.2

11 Sep 16:06
Compare
Choose a tag to compare

Fixes

  • Vector and matrix constructors now work on React Native by @iwoplaza in #300
  • More swizzles for vectors by @reczkok in #268
  • Writing to a buffer with more accurate sizing by @reczkok in #310

Documentation

  • Fixed misalignment and added a warning box in the buffer api guide by @reczkok in #289

Full Changelog: v0.1.1...v0.1.2

v0.1.1

09 Sep 15:46
Compare
Choose a tag to compare

What's Changed

  • README.md and documentation changes.

Full Changelog: v0.1.0...v0.1.1

v0.1.0

09 Sep 09:50
Compare
Choose a tag to compare

Features in this release

  • Zod-like schema definitions for WGSL data types
  • Utility for creating type-safe buffers using schema definitions
  • A type-safe wrapper for existing WebGPU buffers
  • Read and write operations for typed buffers

New Contributors

Full Changelog: https://github.com/software-mansion/TypeGPU/commits/v0.1.0