Navigation
API > API/Runtime > API/Runtime/ImageCore
| Name | FImageView |
| Type | struct |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
Syntax
struct FImageView : public FImageInfo
Inheritance Hierarchy
- FImageInfo → FImageView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageView
(
const FColor* InColors, |
Make an FImageView pointing at an array of FColor pixels as BGRA8 (does not copy the input, points at it) | ImageCore.h | |
FImageView
(
const FFloat16Color* InColors, |
Make an FImageView pointing at an array of FLinearColor pixels as RGBA16F (does not copy the input, points at it) | ImageCore.h | |
FImageView
(
const FLinearColor* InColors, |
Make an FImageView pointing at an array of FLinearColor pixels as RGBA32F (does not copy the input, points at it) | ImageCore.h | |
FImageView
(
const FImageInfo& InInfo, |
ImageCore.h | ||
FImageView
(
void* InData, |
ImageCore.h | ||
FImageView
(
void* InData, |
ImageCore.h | ||
FImageView () |
ImageCore.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RawData | void * | ImageCore.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArrayView64< FColor > AsBGRA8() |
ImageCore.h | ||
TArrayView64< FColor > AsBGRE8() |
ImageCore.h | ||
TArrayView64< uint16 > AsG16() |
ImageCore.h | ||
TArrayView64< uint8 > AsG8() |
Convenience accessors to raw data these are const member functions because the FImageView object itself is const, but the image it points to may not be | ImageCore.h | |
TArrayView64< FFloat16 > AsR16F() |
ImageCore.h | ||
TArrayView64< float > AsR32F() |
ImageCore.h | ||
TArrayView64< uint16 > AsRGBA16() |
ImageCore.h | ||
TArrayView64< FFloat16Color > AsRGBA16F() |
ImageCore.h | ||
TArrayView64< FLinearColor > AsRGBA32F() |
ImageCore.h | ||
| CopyTo same format. | ImageCore.h | ||
void CopyTo
(
FImage& DestImage, |
Copies the image to a destination image with the specified format. | ImageCore.h | |
const FLinearColor GetOnePixelLinear
(
int32 X, |
Get one pixel from the image and return in Linear color. | ImageCore.h | |
void * GetPixelPointer
(
int32 X, |
Get a pointer to a pixel | ImageCore.h | |
FImageView GetSlice
(
int32 SliceIndex |
Get an FImageView to one 2d slice | ImageCore.h |