[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Surface

Surface Class

IDXGISurface

Implements
Namespace: GrapeCity.Documents.DX.DXGI
Assembly: GcDocs.DX.Windows.dll
Syntax
[Guid("cafcb56c-6ac3-4889-bf47-9e23bbd260ec")]
public class Surface : DeviceChild, IDisposable, IUnknown

Constructors

Name Description
Surface(IntPtr)

Initializes a new instance of the Surface class.

Properties

Name Description
Description

GetDescription

Methods

Name Description
FromSwapChain(SwapChain, int)

Gets a swap chain back buffer.

GetDescription(out SurfaceDescription)

HRESULT IDXGISurface::GetDesc([Out] DXGI_SURFACE_DESC* pDesc)

Map(MapFlags)

Acquires access to the surface data.

Map(MapFlags, out DataStream)

Acquires access to the surface data.

Map(out MappedRectangle, int)

HRESULT IDXGISurface::Map([Out] DXGI_MAPPED_RECT* pLockedRect,[In] unsigned int MapFlags)

Unmap()

HRESULT IDXGISurface::Unmap()

Operators

Name Description
explicit operator Surface(IntPtr)

Performs an explicit conversion from IntPtr to Surface.