[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.SwapChain2

Class SwapChain2

Namespace
GrapeCity.Documents.DX.DXGI
Assembly
GcDocs.DX.Windows.dll

IDXGISwapChain2

[Guid("a8be2ac4-199f-4946-b331-79599fb98de7")]
public class SwapChain2 : SwapChain1, IDisposable, IUnknown
Inheritance
object
SwapChain2
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

SwapChain2(IntPtr)

Initializes a new instance of the SwapChain2 class.

public SwapChain2(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

MatrixTransform

GetMatrixTransform / SetMatrixTransform

public Matrix3x2 MatrixTransform { get; set; }

Property Value

Matrix3x2

SourceSize

Gets or sets the source region used for the swap chain.

public Size2L SourceSize { get; set; }

Property Value

Size2L

Methods

GetFrameLatencyWaitableObject()

void* IDXGISwapChain2::GetFrameLatencyWaitableObject()

public IntPtr GetFrameLatencyWaitableObject()

Returns

System.IntPtr

GetMatrixTransform(out Matrix3x2)

HRESULT IDXGISwapChain2::GetMatrixTransform([Out] DXGI_MATRIX_3X2_F* pMatrix)

public void GetMatrixTransform(out Matrix3x2 matrixRef)

Parameters

matrixRef Matrix3x2

GetMaximumFrameLatency()

HRESULT IDXGISwapChain2::GetMaximumFrameLatency([Out] unsigned int* pMaxLatency)

public int GetMaximumFrameLatency()

Returns

int

GetSourceSize(out int, out int)

HRESULT IDXGISwapChain2::GetSourceSize([Out] unsigned int* pWidth,[Out] unsigned int* pHeight)

public void GetSourceSize(out int widthRef, out int heightRef)

Parameters

widthRef int
heightRef int

SetMatrixTransform(ref Matrix3x2)

HRESULT IDXGISwapChain2::SetMatrixTransform([In] const DXGI_MATRIX_3X2_F* pMatrix)

public void SetMatrixTransform(ref Matrix3x2 matrixRef)

Parameters

matrixRef Matrix3x2

SetMaximumFrameLatency(int)

HRESULT IDXGISwapChain2::SetMaximumFrameLatency([In] unsigned int MaxLatency)

public void SetMaximumFrameLatency(int maxLatency)

Parameters

maxLatency int

SetSourceSize(int, int)

HRESULT IDXGISwapChain2::SetSourceSize([In] unsigned int Width,[In] unsigned int Height)

public void SetSourceSize(int width, int height)

Parameters

width int
height int

Operators

explicit operator SwapChain2(IntPtr)

Performs an explicit conversion from System.IntPtr to SwapChain2.

public static explicit operator SwapChain2(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

SwapChain2