pub fn load_texture_from_resource(
identifier: impl AsRef<str>,
resource_id: u32,
module: HMODULE,
callback: Option<RawTextureReceiveCallback>,
)Expand description
Loads a texture from the given resource.
You can create a RawTextureReceiveCallback using the texture_receive macro.