API reference
API reference
Select your platform
No SDKs available
No versions available

PanelSurface

PanelSurface

class PanelSurface(scene: Scene, val widthInPx: Int, val heightInPx: Int, mips: Int, samplerConfig: SamplerConfig = PanelConfigOptions.DEFAULT_PANEL_SAMPLER, useSwapchain: Boolean, useTexture: Boolean, fragmentShader: String = "", isProtected: Boolean = false)

Constructors

NameSummary
PanelSurface
constructor(scene: Scene, widthInPx: Int, heightInPx: Int, mips: Int, samplerConfig: SamplerConfig = PanelConfigOptions.DEFAULT_PANEL_SAMPLER, useSwapchain: Boolean, useTexture: Boolean, fragmentShader: String = "", isProtected: Boolean = false)

Properties

NameSummary
heightInPx
val heightInPx: Int
surface
var surface: <Error class: unknown class>?
swapchain
var swapchain: SceneSwapchain?
texture
var texture: SceneTexture?
widthInPx
val widthInPx: Int

Functions

NameSummary
destroy
fun destroy()
Did you find this page helpful?
Thumbs up icon
Thumbs down icon