This documentation is archived and is not being maintained.

RenderCapability Class

Enables WPF applications to query for the current rendering tier for their associated Dispatcher object and to register for notification of changes.


Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public ref class RenderCapability abstract sealed

The RenderCapability type exposes the following members.

Public propertyStatic memberIsShaderEffectSoftwareRenderingSupported Obsolete. Gets a value that indicates whether the system can render bitmap effects in software.
Public propertyStatic memberMaxHardwareTextureSizeGets the maximum width and height for bitmap creation of the underlying hardware device.
Public propertyStatic memberTierGets a value that indicates the rendering tier for the current thread.

Public methodStatic memberIsPixelShaderVersionSupportedGets a value that indicates whether the specified pixel shader version is supported.
Public methodStatic memberIsPixelShaderVersionSupportedInSoftwareGets a value that indicates whether the specified pixel shader version can be rendered in software on the current system.
Public methodStatic memberMaxPixelShaderInstructionSlotsGets the maximum number of instruction slots supported by the specified pixel shader version.

Public eventStatic memberTierChangedOccurs when the rendering tier has changed for the Dispatcher object of the current thread.

A rendering tier defines a level of graphics hardware capability and performance for a device that runs a WPF application. The features of the graphics hardware that most affect the rendering tier levels are the following:

  • Video RAM: The amount of video memory on the graphics hardware determines the size and number of buffers that can be used for compositing graphics.

  • Pixel Shader: A pixel shader is a graphics processing function that calculates effects on a per-pixel basis. Depending on the resolution of the displayed graphics, there could be several million pixels that need to be processed for each display frame.

  • Vertex Shader: A vertex shader is a graphics processing function that performs mathematical operations on the vertex data of the object.

  • Multitexture Support: Multitexture support refers to the ability to apply two or more distinct textures during a blending operation on a 3D graphics object. The degree of multitexture support is determined by the number of multitexture units on the graphics hardware.

The pixel shader, vertex shader, and multitexture features are used to define specific DirectX version levels, which, in turn, are used to define the different rendering tiers in WPF. For a full description of the rendering tiers, see Graphics Rendering Tiers.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.