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

SceneTexture

SceneTexture

class SceneTexture

Constructors

NameSummary
SceneTexture
constructor(width: Int, height: Int, numberOfMips: Int, samplerConfig: SamplerConfig = SamplerConfig())constructor(image: <Error class: unknown class>, samplerConfig: SamplerConfig = SamplerConfig())constructor(bitmap: <Error class: unknown class>, samplerConfig: SamplerConfig = SamplerConfig())constructor(drawable: <Error class: unknown class>?)constructor(color: <Error class: unknown class>, samplerConfig: SamplerConfig = SamplerConfig())

Types

NameSummary
Companion
object Companion

Properties

NameSummary
handle
var handle: Long

Functions

NameSummary
destroy
fun destroy()
nativeHandle
fun nativeHandle(): Long
update
fun update(buffer: ByteBuffer, width: Int, height: Int, strideInBytes: Int)

Companion

object Companion

Functions

NameSummary
calculateMips
fun calculateMips(w: Int, h: Int): Int
createFromPlatformImage
fun createFromPlatformImage(w: Int, h: Int, mips: Int, platformImage: Long, samplerConfig: SamplerConfig = SamplerConfig()): SceneTexture
Did you find this page helpful?
Thumbs up icon
Thumbs down icon