TexturePngBytesLookup



Summary

Public functions

ByteArray?
getTexturePngBytes(clientTextureId: String)

Low-level callback for retrieving texture PNG bytes to encode into a serialized BrushFamily.

Cmn

Public functions

getTexturePngBytes

fun getTexturePngBytes(clientTextureId: String): ByteArray?

Low-level callback for retrieving texture PNG bytes to encode into a serialized BrushFamily.

Parameters
clientTextureId: String

The texture ID for the texture to encode.

Returns
ByteArray?

The PNG bytes of the texture bitmap to encode, or null to not encode any texture.