文档

Unity Engine

Unity Engine

Flush()

Flush the device context.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool Flush()

Returns

Type

Description

boolTrue if the flush was successful.

Remarks

Start execution of the enqueued operations on the device. On some platforms the underlying implementation or driver flushes automatically, on others it is up to the user to call ReferenceContext.Flush. The ReferenceContext.Flush method returns immediately.