ShaderRenderMode 枚举

定义

指示用于在软件中呈现 ShaderEffect 的策略。Indicates the policy for rendering a ShaderEffect in software.

public enum class ShaderRenderMode
public enum ShaderRenderMode
type ShaderRenderMode = 
Public Enum ShaderRenderMode
继承
ShaderRenderMode

字段

Auto 0

允许硬件和软件呈现。Allow hardware and software rendering.

HardwareOnly 2

需要硬件呈现,如果不可用,则忽略。Require hardware rendering, ignore if unavailable.

SoftwareOnly 1

强制软件呈现。Force software rendering.

适用于

另请参阅