Class RasterCache
Namespace: Unity.UIWidgets.flow
Syntax
public class RasterCache
Constructors
RasterCache(Int32)
Declaration
public RasterCache(int threshold = 3)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | threshold |
Fields
threshold
Declaration
public readonly int threshold
Field Value
| Type | Description |
|---|---|
| Int32 |
Properties
meshPool
Declaration
public MeshPool meshPool { set; }
Property Value
| Type | Description |
|---|---|
| MeshPool |
Methods
clear()
Declaration
public void clear()
getPrerolledImage(Picture, Matrix3, Single, Int32, Boolean, Boolean)
Declaration
public RasterCacheResult getPrerolledImage(Picture picture, Matrix3 transform, float devicePixelRatio, int antiAliasing, bool isComplex, bool willChange)
Parameters
| Type | Name | Description |
|---|---|---|
| Picture | picture | |
| Matrix3 | transform | |
| Single | devicePixelRatio | |
| Int32 | antiAliasing | |
| Boolean | isComplex | |
| Boolean | willChange |
Returns
| Type | Description |
|---|---|
| RasterCacheResult |
sweepAfterFrame()
Declaration
public void sweepAfterFrame()