setTextureSize

open fun setTextureSize(textureWidth: Int, textureHeight: Int)

Use this function to set the texture size. Note, do not call setDefaultBufferSize() yourself since this class needs to be aware of the texture size.