class PanelSurface(scene: Scene, val widthInPx: Int, val heightInPx: Int, mips: Int, samplerConfig: SamplerConfig = PanelConfigOptions.DEFAULT_PANEL_SAMPLER, useSwapchain: Boolean, useTexture: Boolean, fragmentShader: String = "", val isProtected: Boolean = false)
| Name | Summary |
|---|---|
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) |
| Name | Summary |
|---|---|
heightInPx | val heightInPx: Int Height of the surface in pixels |
isProtected | val isProtected: Boolean = false Whether the surface is protected (for DRM content) |
surface | var surface: <Error class: unknown class>? The Android Surface object for rendering |
swapchain | |
texture | |
widthInPx | val widthInPx: Int Width of the surface in pixels |
| Name | Summary |
|---|---|
destroy | fun destroy() |