Custom

Custom render cache with given cacheSizeMb.

class Custom(cacheSizeMb: Long) : RenderCache

Constructors

Custom
Link copied to clipboard
fun Custom(cacheSizeMb: Long)

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.

override val cacheSizeMb: Long