ID2D1Bitmap1

<summary> Represents a bitmap that can be used as a surface for an ID2D1DeviceContext or mapped into system memory, and can contain additional color context information. </summary>

Members

Functions

GetColorContext
void GetColorContext(ID2D1ColorContext* colorContext)

<summary> Retrieves the color context information associated with the bitmap. </summary>

GetOptions
D2D1_BITMAP_OPTIONS GetOptions()

<summary> Retrieves the bitmap options used when creating the API. </summary>

GetSurface
HRESULT GetSurface(IDXGISurface* dxgiSurface)

<summary> Retrieves the DXGI surface from the corresponding bitmap, if the bitmap was created from a device derived from a D3D device. </summary>

Map
HRESULT Map(D2D1_MAP_OPTIONS options, D2D1_MAPPED_RECT* mappedRect)

<summary> Maps the given bitmap into memory. The bitmap must have been created with the D2D1_BITMAP_OPTIONS_CPU_READ flag. </summary>

Unmap
HRESULT Unmap()

<summary> Unmaps the given bitmap from memory. </summary>

Meta