[]
Acquires access to the surface data.
public DataRectangle Map(MapFlags flags)
| Type | Name | Description |
|---|---|---|
| MapFlags | flags | Flags specifying CPU access permissions. |
| Type | Description |
|---|---|
| DataRectangle | A C1.Win.DX.DataRectangle for accessing the mapped data, or |
Acquires access to the surface data.
public DataRectangle Map(MapFlags flags, out DataStream dataStream)
| Type | Name | Description |
|---|---|---|
| MapFlags | flags | Flags specifying CPU access permissions. |
| DataStream | dataStream | A data stream. |
| Type | Description |
|---|---|
| DataRectangle | A C1.Win.DX.DataRectangle for accessing the mapped data, or |
HRESULT IDXGISurface::Map([Out] DXGI_MAPPED_RECT* pLockedRect,[In] unsigned int MapFlags)
public void Map(out MappedRectangle lockedRectRef, int mapFlags)
| Type | Name | Description |
|---|---|---|
| MappedRectangle | lockedRectRef | |
| int | mapFlags |