Function crispy::import_bind_texture
source ยท pub(crate) fn import_bind_texture<F: Facade>(
facade: &F,
tex: Texture,
) -> Result<UnsignedTexture2d, Error>
Expand description
Initializes the GL texture.
pub(crate) fn import_bind_texture<F: Facade>(
facade: &F,
tex: Texture,
) -> Result<UnsignedTexture2d, Error>
Initializes the GL texture.