Partilhar via


GraphicsDeviceCapabilities.ShadingCaps.SupportsColorGouraudRgb Property

Gets a value indicating whether the device can support colored Gouraud shading.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool SupportsColorGouraudRgb { get; }

Property Value

true if the device can support colored Gouraud shading; false otherwise.

Remarks

In this mode, the per-vertex color components (red, green, and blue) are interpolated across a triangle face.

See Also

Reference

GraphicsDeviceCapabilities.ShadingCaps Structure
GraphicsDeviceCapabilities.ShadingCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista