BrowserTexture

constructor(textureSetup: TextureSetup, width: Int, height: Int, bgra: Boolean, u1: Float = 0.0f, v1: Float = 0.0f, u2: Float = 1.0f, v2: Float = 1.0f)

Parameters

textureSetup

The texture setup object.

width

The width of the texture.

height

The height of the texture.

bgra

Whether the texture is in BGRA format (true) or RGBA format (false).

u1

u1, v1, u2 and v2 bound the page within the texture.