Navigation
API > API/Runtime > API/Runtime/GeometryCore
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).
| Name | FImageAdapter |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Image/ImageBuilder.h |
| Include Path | #include "Image/ImageBuilder.h" |
Syntax
class FImageAdapter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageAdapter
(
TImageBuilder< float >* Image |
Image/ImageBuilder.h | ||
FImageAdapter
(
TImageBuilder< FVector3f >* Image |
Image/ImageBuilder.h | ||
FImageAdapter
(
TImageBuilder< FVector4f >* Image |
Image/ImageBuilder.h |
Enums
Public
| Name | Remarks |
|---|---|
| EImageType |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageDimensions GetDimensions() |
Image/ImageBuilder.h | ||
FVector4f GetPixel
(
int64 LinearIndex |
Image/ImageBuilder.h | ||
| Image/ImageBuilder.h | |||
void SetDimensions
(
FImageDimensions Dimensions |
Image/ImageBuilder.h | ||
| Image/ImageBuilder.h | |||
void SetPixel
(
const FVector2i& PixelCoords, |
Image/ImageBuilder.h |