directx-d v0.14.1 (2022-11-15T10:12:44Z)
Dub
Repo
ID2D1DeviceContext.CreateBitmap
directx
d2d1_1
ID2D1DeviceContext
Undocumented in source. Be warned that the author may not have intended to support it.
HRESULT
CreateBitmap
(D2D1_SIZE_U size, const(void)* sourceData, UINT32 pitch, const(D2D1_BITMAP_PROPERTIES1)* bitmapProperties, ID2D1Bitmap1* bitmap)
HRESULT
CreateBitmap
(D2D1_SIZE_U size, const(void*) srcData, UINT32 pitch, const(D2D1_BITMAP_PROPERTIES)* bitmapProperties, ID2D1Bitmap* bitmap)
HRESULT
CreateBitmap
(D2D1_SIZE_U size, const(void)* sourceData, UINT32 pitch, D2D1_BITMAP_PROPERTIES1 bitmapProperties, ID2D1Bitmap1 bitmap)
interface
ID2D1DeviceContext
extern (
Windows
) final
HRESULT
CreateBitmap
(
D2D1_SIZE_U
size
,
const
(
void
)*
sourceData
,
UINT32
pitch
,
const
D2D1_BITMAP_PROPERTIES1
bitmapProperties
,
out
ID2D1Bitmap1
bitmap
)
Meta
Source
See Implementation
directx
d2d1_1
ID2D1DeviceContext
functions
CreateBitmap
CreateBitmapBrush
CreateBitmapFromDxgiSurface
CreateBitmapFromWicBitmap
CreateColorContext
CreateColorContextFromFilename
CreateColorContextFromWicColorContext
CreateCommandList
CreateEffect
CreateGradientStopCollection
CreateImageBrush
DrawBitmap
DrawGdiMetafile
DrawGlyphRun
DrawImage
FillOpacityMask
GetDevice
GetEffectInvalidRectangleCount
GetEffectInvalidRectangles
GetEffectRequiredInputRectangles
GetGlyphRunWorldBounds
GetImageLocalBounds
GetImageWorldBounds
GetPrimitiveBlend
GetRenderingControls
GetTarget
GetUnitMode
InvalidateEffectInputRectangle
IsBufferPrecisionSupported
IsDxgiFormatSupported
PushLayer
SetPrimitiveBlend
SetRenderingControls
SetTarget
SetUnitMode