record TSwapChainInfo

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSwapChainInfo = record

Description

General description of rendering swap chain.

Overview

Fields

Width: Integer;
Height: Integer;
VSync: Boolean;
Format: TPixelFormat;
WindowHandle: TUntypedHandle;
Multisamples: Integer;
DepthStencil: TDepthStencil;

Description

Fields

Width: Integer;

The width of rendering surface.

Height: Integer;

The height of rendering surface.

VSync: Boolean;

This parameter determines whether to wait for vertical retrace to provide flicker-free animations.

Format: TPixelFormat;

The desired pixel format to be used in the rendering target. This is a suggestion and different format may be chosen by the provider depending on hardware support. If this parameter is set to TPixelFormat.Unknown (by default), the best possible pixel format will be used.

WindowHandle: TUntypedHandle;

The handle to the application's main window or a control where the rendering should be made (can be another window or even a panel).

Multisamples: Integer;

Number of samples to use for antialiasing. This is a suggestion and different value may actually be used by the provider depending on hardware support; values of zero and one are treated as no multisampling.

DepthStencil: TDepthStencil;

The type of depth-stencil buffer to be used with the swap chain.


Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.