Trait maia_wasm::render::TextureInternalFormat
source · pub trait TextureInternalFormat {
type T: ArrayView;
const INTERNAL_FORMAT: i32;
const FORMAT: u32;
}Expand description
WebGL2 texture internal format.
This trait gives idiomatic Rust usage of WebGL2 texture formats. The trait
gives the WebGL2 constants that list the corresponding internal format and
format, and a Rust type that can be converted to a JS type, using the
ArrayView trait.
Required Associated Types§
Required Associated Constants§
sourceconst INTERNAL_FORMAT: i32
const INTERNAL_FORMAT: i32
WebGL2 constant that indicates the internal format.
Object Safety§
This trait is not object safe.