encase
encase copied to clipboard
BufferContentTrait
Added traits that allow the user to quickly get the buffer contents for a value. This would be convenient for writing data to GPU buffers.
This looks good but the trait will have to be in scope. What about adding the functions onto the existing buffer types?
ex
StorageBuffer::content_of(item: &T) -> Vec<u8>
yeah ok