glium v0.5.0 Release Notes
Release Date: 2015-05-27 // almost 9 years ago-
IndexBuffer
now takes the type of indices as template parameter.IndexBuffer
now derefs toBufferView
. Allows modifying the index buffer after it has been created.- Added
IndexBufferAny
. - Removed the
ToIndicesSource
andIntoIndexBuffer
traits. The former is replaced withInto<IndicesSource>
. PixelBuffer
now takes the type of pixels as template parameter.- Renamed
PixelBuffer::read
toPixelBuffer::read_as_texture_2d
. PixelBuffer
now derefs toBufferView
.- Added
BufferView::read_as_texture_1d
andBufferView::read_as_texture_1d_if_supported
. - Reworked
TextureDataSink
traits to take a precise format. - Fixed a panic when destroying a buffer with persistent mapping.
- Removed deprecated function
VertexBuffer::new_dynamic
. - It is now safe to call
mem::forget
on aMapping
object.