RenderCapability Class

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

System.Object
  System.Windows.Media.RenderCapability

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

public static class RenderCapability

The RenderCapability type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

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

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.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft