pub trait QueryExt {
    fn format(&self) -> PixelFormatKind;
    fn access(&self) -> TextureAccess;
    fn size(&self) -> Size;
}
Expand description

An extension for Texture to query the texture information.

Required Methods§

Returns the format of the texture.

Returns the access of the texture.

Returns the size of the texture.

Implementors§