Interface ITextureBitmapRegistry
Exposes host-owned texture registration for backend-neutral bitmap data.
public interface ITextureBitmapRegistry
Methods
HasTexture(string)
Returns whether the host has already registered a texture for the supplied key.
bool HasTexture(string textureKey)
Parameters
textureKeystringThe backend-neutral texture key.
Returns
RegisterTextureBitmap(string, TextureBitmapRgba32)
Registers a backend-neutral bitmap as a host texture resource.
void RegisterTextureBitmap(string textureKey, TextureBitmapRgba32 bitmap)
Parameters
textureKeystringThe backend-neutral texture key.
bitmapTextureBitmapRgba32The bitmap data to upload.