setTextureSize

public void setTextureSize(int textureWidth, int textureHeight)

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.