Sdílet prostřednictvím


GraphicsDeviceCapabilities.TextureCaps.SupportsProjected Property

Gets a value indicating whether the device supports per pixel projective divide.

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

Syntax

public bool SupportsProjected { get; }

Property Value

true if the device supports supports per pixel projective divide; false otherwise.

Remarks

When applied, the device divides transformed texture coordinates by the last texture coordinate. If this capability is present, the projective divide occurs per pixel. If this capability is not present, but the projective divide needs to occur anyway, it is performed on a per-vertex basis by the Direct3D runtime.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista