![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ImageBuilder.h>
Public Types | |
| enum class | EImageType { Float1 , Float3 , Float4 } |
Public Member Functions | |
| FImageAdapter (TImageBuilder< float > *Image) | |
| FImageAdapter (TImageBuilder< FVector3f > *Image) | |
| FImageAdapter (TImageBuilder< FVector4f > *Image) | |
| void | SetDimensions (FImageDimensions Dimensions) |
| FImageDimensions | GetDimensions () const |
| void | SetPixel (const FVector2i &PixelCoords, const FVector4f &FloatPixel) |
| void | SetPixel (const FVector2i &PixelCoords, const FLinearColor &FloatPixel) |
| FVector4f | GetPixel (int64 LinearIndex) const |
| FVector4f | GetPixel (const FVector2i &PixelCoords) const |
Protected Attributes | |
| EImageType | ImageType |
| TImageBuilder< float > * | Image1f = nullptr |
| TImageBuilder< FVector3f > * | Image3f = nullptr |
| TImageBuilder< FVector4f > * | Image4f = nullptr |
FImageAdapter is a wrapper around different types of TImageBuilder that provides a standard interface, which allows functions that don't need to know about the specific image type to operate on "any" image. For example to allow code that works on a 4-channel image to operate on a single-channel image (in which case the Adapter will expand/collapse the channels automatically).
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |