D2D1_CAPABILITIES enumeration

Applies to: desktop apps only

Defines the capabilities of the underlying hardware that Direct2D is able to utilize.

Syntax


typedef enum  { 
  D2D1_CAPABILITIES_RENDER      = 0,
  D2D1_CAPABILITIES_COMPUTE_4   = 1,
  D2D1_CAPABILITIES_COMPUTE_5   = 2 
} D2D1_CAPABILITIES;

Constants

D2D1_CAPABILITIES_RENDER

Usable for rendering and for most effects.

D2D1_CAPABILITIES_COMPUTE_4

Usable for all rendering and for effects that require Compute Shader 4 support.

D2D1_CAPABILITIES_COMPUTE_5

Usable for all rendering and for effects that require Shader Model 5 support.

Remarks

To determine whether the hardware supports the required capability, use the ID2D1Device::IsSupported method.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

D2d1_1.h

See also

ID2D1Effect::GetOutput

 

 

Send comments about this topic to Microsoft

Build date: 7/13/2012

Community Additions

Show: