You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
breakingImtGlyphBitmapdata field is now private. Bitmap data is now represented by ImtBitmapData enum which can be an image, raw data in the form of a vec, or empty in the case where a bitmap is applicable.
breakingImtGlyphBitmapwidth, height, bearing_x, bearing_y have been moved into ImtBitmapMetrics which can be obtained from the ImtGlypyBitmap::metrics() method.
breakingImtGlyphbitmap field now is an option of ImtBitmapData instead of a vec of the raw data.
breaking Bitmap data color componenents are now value normalized. This is the same as vec4(color.rgb / color.a, color.a). This behavior already existed in Basalt therefore Basalt users will not see any change from this other than a minor performance improvement.
breakingImtRaster now has two creation methods, new_gpu and new_cpu. This will select the rasterization backend used. ImtFont methods from_file & from_bytes have been split into from_file_cpu, from_file_gpu, from_bytes_cpu, & from_bytes_gpu to match this change.
Added ImtImageView which is very similar to BstImageView from Basalt. This is an abstraction over vulkano's ImageView that makes handling ImageViews more abstract.
Added raster_to_image option to ImtRasterOpts which defaults to true. This option will enable/disable outputing to an image instead of raw data.
Update dependencies allsorts to 0.6.0 & ordered-float to 2.7.0.