rotex-types 0.1.2

Types used by rotexengine tools
Documentation
1
2
3
4
5
6
7
8
9
use crate::resource::TextureFormat;

#[derive(Debug, Clone)]
pub struct TextureReadback {
    pub data: Vec<u8>,
    pub format: TextureFormat,
    pub width: u32,
    pub height: u32,
}