GRContext.Flush 方法

定義

多載

名稱 Description
Flush(Boolean, Boolean)

將所有待繪圖操作沖刷到底層的 3D API,並可選擇將工作提交給 GPU。

Flush(SKSurface)

清除與指定表面相關的任何待處理的 GPU 繪圖工作。

Flush()

呼叫以確保所有繪製上下文的圖示都已發送到底層的 3D API。

Flush(SKImage)

清除與指定圖片相關的任何待處理的 GPU 繪圖工作。

Flush(Boolean, Boolean)

將所有待繪圖操作沖刷到底層的 3D API,並可選擇將工作提交給 GPU。

public void Flush(bool submit, bool synchronous = false);

參數

submit
Boolean

true清除作業後提交給 GPU;否則,。 false

synchronous
Boolean

true等待 GPU 完成工作;否則,。 false

適用於

Flush(SKSurface)

清除與指定表面相關的任何待處理的 GPU 繪圖工作。

public void Flush(SkiaSharp.SKSurface surface);

參數

surface
SKSurface

應該是與 GPU 相關的工作進行清洗的表面。

適用於

Flush()

呼叫以確保所有繪製上下文的圖示都已發送到底層的 3D API。

public void Flush();

適用於

Flush(SKImage)

清除與指定圖片相關的任何待處理的 GPU 繪圖工作。

public void Flush(SkiaSharp.SKImage image);

參數

image
SKImage

應該是該映像檔對應的 GPU 工作被清除。

適用於