OnDecodeTexturePngBytes



See also
onDecodeTexture

Summary

Public functions

String
onDecodeTexture(clientTextureId: String, pngBytes: ByteArray?)

Low-level callback for recording serialized textures when a BrushFamily is decoded.

Cmn

Public functions

onDecodeTexture

fun onDecodeTexture(clientTextureId: String, pngBytes: ByteArray?): String

Low-level callback for recording serialized textures when a BrushFamily is decoded.

Parameters
clientTextureId: String

The client-provided texture ID.

pngBytes: ByteArray?

The PNG bytes of the texture bitmap, or null if none was encoded.

Returns
String

The texture ID to use in the decoded BrushFamily.