RenderCache

Describes render cache mode where cacheSizeMb is actual GPU render cache size in megabytes.

sealed class RenderCache

Types

Companion
Link copied to clipboard

Static variables.

object Companion
Custom
Link copied to clipboard

Custom render cache with given cacheSizeMb.

class Custom(cacheSizeMb: Long) : RenderCache
Disabled
Link copied to clipboard

Render cache is disabled.

object Disabled : RenderCache
Large
Link copied to clipboard

Render cache is set to be large. Works best with devices powerful GPUs.

object Large : RenderCache
Small
Link copied to clipboard

Render cache is set to be small. Works best with devices with not so powerful GPUs.

object Small : RenderCache

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

cacheSizeMb
Link copied to clipboard

Render cache size in megabytes. That value should be greater than zero and less than GPU memory. It is highly advised to use RenderCache.Small or RenderCache.Large in most cases.

val cacheSizeMb: Long

Inheritors

RenderCache
Link copied to clipboard
RenderCache
Link copied to clipboard
RenderCache
Link copied to clipboard
RenderCache
Link copied to clipboard