Skip to content

Canvas v1.2.0

Compare
Choose a tag to compare
@tabularelf tabularelf released this 28 Sep 21:10
· 62 commits to main since this release
  • Reworked .Resize() to now maintain the previous surface/buffer contents.
  • Reworked .CopySurface() to include an optional [forceResize] argument.
  • Fixed a few edge cases where .CopySurface() and .Resize() would crash the game while the surface is in use. .Start()
  • Added an argument for .Start() to be used with MRT shaders.
  • Renamed .FreeSurface() to .Flush()
  • Note that .FreeSurface() will still function, but this is now deprecated (and shouldn't be used in future projects.)
  • Added the following methods: .GetTexture(), .CopySurfacePart(), .GetPixel(), .GetPixelArray()