[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.Surface.Map

Map Method

Map(MapFlags)

Acquires access to the surface data.

Declaration
public DataRectangle Map(MapFlags flags)
Parameters
Type Name Description
MapFlags flags

Flags specifying CPU access permissions.

Returns
Type Description
DataRectangle

A C1.Win.DX.DataRectangle for accessing the mapped data, or null on failure.

Map(MapFlags, out DataStream)

Acquires access to the surface data.

Declaration
public DataRectangle Map(MapFlags flags, out DataStream dataStream)
Parameters
Type Name Description
MapFlags flags

Flags specifying CPU access permissions.

DataStream dataStream

A data stream.

Returns
Type Description
DataRectangle

A C1.Win.DX.DataRectangle for accessing the mapped data, or null on failure.

Map(out MappedRectangle, int)

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

Declaration
public void Map(out MappedRectangle lockedRectRef, int mapFlags)
Parameters
Type Name Description
MappedRectangle lockedRectRef
int mapFlags