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 = "")

Constructors

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

Properties

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

Functions

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