class SceneSwapchain
| Name | Summary |
|---|---|
SceneSwapchain | constructor(handle: Long) |
| Name | Summary |
|---|---|
Companion | object Companion |
| Name | Summary |
|---|---|
handle | var handle: Long |
| Name | Summary |
|---|---|
destroy | fun destroy() |
getSurface | fun getSurface(): <Error class: unknown class>? Gets the Android Surface associated with this swapchain. |
nativeHandle | fun nativeHandle(): Long |
platformHandle | fun platformHandle(): Long |
updateSampler |
object Companion
| Name | Summary |
|---|---|
create | fun create(width: Int, height: Int, numberOfMips: Int): SceneSwapchain Creates a standard swapchain for rendering. |
createAsAndroid | fun createAsAndroid(width: Int, height: Int, isProtected: Boolean = false): SceneSwapchain Creates a swapchain that is automatically updated when the associated Android Surface is updated. This is what is used in "direct-to-compositor" layer Panels and will be used when you do not require a SceneTexture. It is generally a more performant option and optionally allows for secure/DRM content to be played. |