[]
        
(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)
Public Function Map(flags As MapFlags) As DataRectangle
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)
Public Function Map(flags As MapFlags, ByRef dataStream As DataStream) As DataRectangle
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)
Public Sub Map(ByRef lockedRectRef As MappedRectangle, mapFlags As Integer)
Parameters
Type Name Description
MappedRectangle lockedRectRef
int mapFlags