Skip to main content

set_dynamic_texture_platform

Function set_dynamic_texture_platform 

Source
pub fn set_dynamic_texture_platform(backend: Arc<dyn DynamicTexturePlatform>)
Expand description

Installs the platform backend for dynamic textures.

Called once by the platform’s renderer while it is coming up. The first backend wins: every renderer in the process selects the same Metal device, and textures must stay on the device that draws them.