azul_core::gl

Function insert_into_active_gl_textures

Source
pub fn insert_into_active_gl_textures(
    pipeline_id: PipelineId,
    epoch: Epoch,
    texture: Texture,
) -> ExternalImageId
Expand description

Inserts a new texture into the OpenGL texture cache, returns a new image ID for the inserted texture

This function exists so azul doesn’t have to use lazy_static as a dependency