Type Definition ul_sys::ULGPUDriverCreateTextureCallback[][src]

pub type ULGPUDriverCreateTextureCallback = Option<unsafe extern "C" fn(texture_id: c_uint, bitmap: ULBitmap)>;
Expand description

The callback invoked when the GPUDriver wants to create a texture with a certain ID and optional bitmap.

NOTE: If the Bitmap is empty (ulBitmapIsEmpty), then a RTT Texture should be created instead. This will be used as a backing texture for a new RenderBuffer.