Class TSwapChains
Unit
PXL.SwapChains
Declaration
type TSwapChains = class(TObject)
Description
List of all rendering swap chains that are to be used with Asphyre device. This class describes all swap chains that should be created and used with the device; if the device is already initialized, modifying swap chains is not allowed.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
function Add(const Desc: TSwapChainInfo): Integer; overload; |
|
Adds a new rendering swap chain specified in the given structure to the end of list and returns its index.
|
 |
function Add(const WindowHandle: TUntypedHandle; const Size: TPoint2i; const Multisamples: Integer = 0; const VSync: Boolean = False; const Format: TPixelFormat = TPixelFormat.Unknown; const DepthStencil: TDepthStencil = TDepthStencil.None): Integer; overload; |
|
Adds a new rendering swap chain with the specified parameters to the end of list and returns its index.
|
 |
function Insert: Integer; |
|
Inserts a new swap chain to the end of list and returns its index.
|
 |
procedure Clear; |
|
Removes all rendering swap chains from the list.
|
 |
procedure Remove(const Index: Integer); |
|
Removes the swap at the specified index from the list, shifting all elements by one. The index should be in range of [0..(Count - 1)] range; if it is outside of valid range, this function does nothing.
|
Properties
 |
property Count: Integer read GetCount; |
|
Number of swap chains in the list.
|
 |
property Device: TCustomDevice read FDevice; |
|
The pointer to a valid graphics device which owns this list of rendering swap chains.
|
 |
property Items[constIndex:Integer]: PSwapChainInfo read GetItem; |
|
Provides access to each of the rendering swap chains in the list by index, which should be in range of [0..(Count - 1)] range. If the index is outside of valid range, Nil is returned.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|