VisualFlags

Description

[Flags]
enum Tinman.Engine.Drawing.VisualFlags

Enumeration of flags for VisualCache.Get.

Public / Constants

None

public constant None → (0:int32)

No flags.

Rasterize

public constant Rasterize → (1:int32)

Rasterize the visual, if necessary?

If this flag is omitted, the visual cache will return only return existing entries.

Background

public constant Background → (2:int32)

Rasterization will be performed asynchronously in a background thread (if necessary), instead of in the calling thread.

NoCopy

public constant NoCopy → (4:int32)

When rasterization is performed in a background thread, no copy will be created with ICopyable.Copy and the calling code must ensure that the visual will not be modified during rasterization.

This flag is implied when IVisual.IsImmutable returns true.

All

public constant All → (7:int32)

All flags.