Name | Summary |
---|---|
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()) |
Name | Summary |
---|---|
Companion | object Companion |
Name | Summary |
---|---|
handle | var handle: Long |
Name | Summary |
---|---|
destroy | fun destroy() |
nativeHandle | fun nativeHandle(): Long |
update | fun update(buffer: ByteBuffer, width: Int, height: Int, strideInBytes: Int) |
Name | Summary |
---|---|
calculateMips | fun calculateMips(w: Int, h: Int): Int |
createFromPlatformImage | fun createFromPlatformImage(w: Int, h: Int, mips: Int, platformImage: Long, samplerConfig: SamplerConfig = SamplerConfig()): SceneTexture |