BrowserTexture

data class BrowserTexture(val textureSetup: TextureSetup, val width: Int, val height: Int, val bgra: Boolean, val u1: Float = 0.0f, val v1: Float = 0.0f, val u2: Float = 1.0f, val v2: Float = 1.0f) : Record

Represents a texture used by the browser.

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.

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val textureSetup: TextureSetup
Link copied to clipboard
val u1: Float
Link copied to clipboard
val u2: Float
Link copied to clipboard
val v1: Float
Link copied to clipboard
val v2: Float
Link copied to clipboard
val width: Int