dplug ~master (2024-12-12T14:21:32Z)
Home
Dub
Repo
toRef
dplug
graphics
image
Convert an
OwnedImage
to an
ImageRef
.
ImageRef
!
L8
toRef
(OwnedImage!L8 src)
ImageRef
!
L16
toRef
(OwnedImage!L16 src)
nothrow @
nogc
pure
ImageRef
!
L16
toRef
(
OwnedImage
!
L16
src
)
ImageRef
!
RGBA
toRef
(OwnedImage!RGBA src)
ImageRef
!
RGBA16
toRef
(OwnedImage!RGBA16 src)
Meta
Source
See Implementation
dplug
graphics
image
aliases
ViewColor
classes
OwnedImage
enums
isDirectView
isView
isWritableView
functions
blitTo
convertImageToOwnedImage_l16
convertImageToOwnedImage_l8
convertImageToOwnedImage_rgb8
convertImageToOwnedImage_rgba8
copyPixels
copyScanline
createViewFromImageRef
cropImageRef
getImageRef
loadImageSeparateAlpha
loadImageWithFilledAlpha
loadOwnedImage
loadOwnedImageDepth
loadOwnedImagePremul
size
toRef
mixin templates
DirectView
Warp
structs
ImageRef
Convert an OwnedImage to an ImageRef.