Enum DxgiScaling
Identifies resize behavior when the back-buffer size does not match the size of the target output.
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public enum DxgiScaling
Fields
Name | Description |
---|---|
AspectRatioStretch | DXGI to make the back-buffer contents scale to fit the presentation target size, while preserving the aspect ratio of the back-buffer. If the scaled back-buffer does not fill the presentation area, it will be centered with black borders. |
None | Directs DXGI to make the back-buffer contents appear without any scaling when the presentation target size is not equal to the back-buffer size. The top edges of the back buffer and presentation target are aligned together. |
Stretch | Directs DXGI to make the back-buffer contents scale to fit the presentation target size. |