Graphics 0.11.0
What's Changed Since v0.8.1
Added
- Defragmentation to Atlas_set. Reduces Texture Fragmented DeadSpace allowing more textures to fit later.
- with_deallocations_limit to Atlas_set to allow setting a custom defrag ratio.
- GpuRenderer::get_layout() to aquire already made layouts without the need for a &mut GpuRenderer.
- Added Feature PassThru to Give direct access to all usable internal crates.
- Text::visible_details() which will return the needed details to calculate the render texts size.
- More Documentation.
Changed
- (Breaking) Added size that is clamped to 256 to limits.max_texture_dimension_2d.
- (Breaking) Removed TextureView from AtlasSet and placed into TextureGroup.
- Added Backend to GpuRenderer
- (Breaking) Removed Visible lines function in Text as Cosmic removed it as well.
- (Breaking) Updated to cosmic-text 0.12.0
- (Breaking) Added Rendering layer to Text, Mesh.
- (Breaking) DrawOrder Width, Height and DrawType Removed.
- (Breaking) DrawType Removed.
- (Breaking) Rename GpuBuffer as VertexBuffer.
- (Breaking) Bounds functions now use Vec2 instead of Vec3 since we do not use Z.
- (Breaking) Removed tex_buf from Text to reduce Ram usage.
Fixed
- Reduced Textures loaded to 1 if not Opengl being used as an adapter backend.
- Rebinding TextureGroup upon Grow allows Access to new Texture Layers.
- Atlas Grow had the wrong Format and mip_level_count incorrect.
- Ensure all renderers use Alpha checks and Rendering Layer for Ordering
Full Changelog: v0.8.1...v0.11.0