Bewerken

Delen via


D3DDDI_MULTIPLANE_OVERLAY_GROUP_CAPS structure (d3dumddi.h)

Used by the user-mode display driver to specify a group of overlay plane capabilities.

Syntax

typedef struct D3DDDI_MULTIPLANE_OVERLAY_GROUP_CAPS {
  UINT  NumPlanes;
  float MaxStretchFactor;
  float MaxShrinkFactor;
  UINT  OverlayCaps;
} D3DDDI_MULTIPLANE_OVERLAY_GROUP_CAPS;

Members

NumPlanes

Specifies the number of overlay planes that are supported by the overlay planes within the capability group.

MaxStretchFactor

Specifies the maximum stretch factor that is supported by the overlay planes within the capability group.

The stretch factor is the ratio of the final, stretched overlay plane size to the original size. For example, if the original overlay plane is 100 x 100 pixels, a value of 2.5 means that it can be stretched to 250 x 250 pixels.

It's not guaranteed that this stretch factor can be applied in all scenarios. For example, it might be possible to stretch only one overlay plane out of several using this factor.

MaxShrinkFactor

Specifies the maximum shrink factor that is supported by the overlay planes within the capability group.

The shrink factor is the ratio of the final, shrunk overlay plane size to the original size. For example, if the original overlay plane is 100 x 100 pixels, a value of 0.25 means that it can be shrunk to 25 x 25 pixels.

It's not guaranteed that this shrink factor can be applied in all scenarios. For example, it might be possible to shrink only one overlay plane out of several using this factor.

OverlayCaps

The overlay capabilities, given as a bitwise OR of values from the D3DDDI_MULTIPLANE_OVERLAY_FEATURE_CAPS enumeration.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDI_MULTIPLANE_OVERLAY_FEATURE_CAPS