RenderCapability RenderCapability RenderCapability RenderCapability Class

Definition

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

public ref class RenderCapability abstract sealed
public static class RenderCapability
type RenderCapability = class
Public Class RenderCapability
Inheritance
RenderCapabilityRenderCapabilityRenderCapabilityRenderCapability

Remarks

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.

Properties

IsShaderEffectSoftwareRenderingSupported IsShaderEffectSoftwareRenderingSupported IsShaderEffectSoftwareRenderingSupported IsShaderEffectSoftwareRenderingSupported

Gets a value that indicates whether the system can render bitmap effects in software.

MaxHardwareTextureSize MaxHardwareTextureSize MaxHardwareTextureSize MaxHardwareTextureSize

Gets the maximum width and height for bitmap creation of the underlying hardware device.

Tier Tier Tier Tier

Gets a value that indicates the rendering tier for the current thread.

Methods

IsPixelShaderVersionSupported(Int16, Int16) IsPixelShaderVersionSupported(Int16, Int16) IsPixelShaderVersionSupported(Int16, Int16) IsPixelShaderVersionSupported(Int16, Int16)

Gets a value that indicates whether the specified pixel shader version is supported.

IsPixelShaderVersionSupportedInSoftware(Int16, Int16) IsPixelShaderVersionSupportedInSoftware(Int16, Int16) IsPixelShaderVersionSupportedInSoftware(Int16, Int16) IsPixelShaderVersionSupportedInSoftware(Int16, Int16)

Gets a value that indicates whether the specified pixel shader version can be rendered in software on the current system.

MaxPixelShaderInstructionSlots(Int16, Int16) MaxPixelShaderInstructionSlots(Int16, Int16) MaxPixelShaderInstructionSlots(Int16, Int16) MaxPixelShaderInstructionSlots(Int16, Int16)

Gets the maximum number of instruction slots supported by the specified pixel shader version.

Events

TierChanged TierChanged TierChanged TierChanged

Occurs when the rendering tier has changed for the Dispatcher object of the current thread.

Applies to

See Also