create_texture_ref

Function create_texture_ref 

Source
pub fn create_texture_ref(texture_id: u64) -> ImTextureRef
Expand description

Create an ImTextureRef from a texture ID

This is the safe way to create an ImTextureRef for use with Dear ImGui. Use this instead of directly constructing the sys::ImTextureRef structure.