Delegate ImageDecodeCallback

ImageDecodeCallback delegate

Callback used to intercept the loading of textures so they can be decoded by the client engine and uploaded to the GPU if neccesary.

public delegate bool ImageDecodeCallback(ImageGlb image);
ParameterTypeDescription
imageImageGlbThe Image containing the texture

Return Value

True if we want to keep the image memory data inside ImageGlb. Otherwise the memory will be cleared and ImageGlb will be empty.

See Also