![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DataflowImage.h>
Public Member Functions | |
| DATAFLOWCORE_API int32 | GetWidth () const |
| DATAFLOWCORE_API int32 | GetHeight () const |
| DATAFLOWCORE_API const FImage & | GetImage () const |
| DATAFLOWCORE_API void | CreateR32F (EDataflowImageResolution Resolution) |
| DATAFLOWCORE_API void | CreateR32F (int32 Width, int32 Height) |
| DATAFLOWCORE_API void | CreateRGBA32F (EDataflowImageResolution Resolution) |
| DATAFLOWCORE_API void | CreateRGBA32F (int32 Width, int32 Height) |
| DATAFLOWCORE_API void | CreateFromColor (EDataflowImageResolution Resolution, FLinearColor Color) |
| DATAFLOWCORE_API void | CreateFromColor (int32 Width, int32 Height, FLinearColor Color) |
| DATAFLOWCORE_API bool | CopyRGBAPixels (TArrayView64< FVector4f > Pixels) |
| DATAFLOWCORE_API void | ConvertToRGBA32F () |
| DATAFLOWCORE_API bool | Serialize (FArchive &Ar) |
| DATAFLOWCORE_API void | ReadChannel (EDataflowImageChannel Channel, FDataflowImage &OutImage) const |
| DATAFLOWCORE_API void | WriteChannel (EDataflowImageChannel Channel, const FDataflowImage &SrcImage) |
Represents image for dataflow type is constrained to Float32 with 1 or 4 channels
| void FDataflowImage::ConvertToRGBA32F | ( | ) |
Convert the current image to a 4 channel float pixel format previous data is kept
| bool FDataflowImage::CopyRGBAPixels | ( | TArrayView64< FVector4f > | Pixels | ) |
Copy RGBA32F pixels to the image Number of pixels must match and format must be RGBA32F return false if the copy could not be done
| void FDataflowImage::CreateFromColor | ( | EDataflowImageResolution | Resolution, |
| FLinearColor | Color | ||
| ) |
Create a four channels float format image filled with a specific color
| void FDataflowImage::CreateFromColor | ( | int32 | Width, |
| int32 | Height, | ||
| FLinearColor | Color | ||
| ) |
Create a four channels float format image filled with a specific color
| void FDataflowImage::CreateR32F | ( | EDataflowImageResolution | Resolution | ) |
Create a single channel float format image
Create a single channel float format image
| void FDataflowImage::CreateRGBA32F | ( | EDataflowImageResolution | Resolution | ) |
Create a four channels float format image
Create a four channels float format image
| int32 FDataflowImage::GetHeight | ( | ) | const |
| const FImage & FDataflowImage::GetImage | ( | ) | const |
get the readonly underlying image object
| int32 FDataflowImage::GetWidth | ( | ) | const |
| void FDataflowImage::ReadChannel | ( | EDataflowImageChannel | Channel, |
| FDataflowImage & | OutImage | ||
| ) | const |
Get a specific color channel and copy it to an image Warning : the outImage will be resized to the size of the current image and any previously store data will be lost
| void FDataflowImage::WriteChannel | ( | EDataflowImageChannel | Channel, |
| const FDataflowImage & | SrcImage | ||
| ) |
write to a sepcific channel from an existing image if the source image is not the same size it will be resized to adapt the size of the current image if the source image is not a greyscale image it will be converted to greyscale before copy the data to the channel