BrowserTexture

data class BrowserTexture(val textureSetup: TextureSetup, val width: Int, val height: Int, val bgra: Boolean) : 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).

Constructors

Link copied to clipboard
constructor(textureSetup: TextureSetup, width: Int, height: Int, bgra: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val textureSetup: TextureSetup
Link copied to clipboard
val width: Int