Struct gfx::device::tex::ImageInfo
[−]
[src]
pub struct ImageInfo { pub xoffset: Size, pub yoffset: Size, pub zoffset: Size, pub width: Size, pub height: Size, pub depth: Size, pub format: Format, pub mipmap: u8, }
Describes a subvolume of a texture, which image data can be uploaded into.
Fields
xoffset | |
yoffset | |
zoffset | |
width | |
height | |
depth | |
format | Format of each texel. |
mipmap | Which mipmap to select. |