Navigation
API > API/Runtime > API/Runtime/ImageCore
FImageInfo describes a 2d pixel surface it can be used by FImage or FImageView
| Name | FImageInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
Syntax
struct FImageInfo
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageInfo
(
int32 InSizeX, |
ImageCore.h | ||
FImageInfo () |
ImageCore.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Format | ERawImageFormat::Type | Format in which the image is stored. | ImageCore.h | |
| GammaSpace | EGammaSpace | The gamma space the image is stored in. | ImageCore.h | |
| NumSlices | int32 | Number of image slices. | ImageCore.h | |
| SizeX | int32 | Width of the image. | ImageCore.h | |
| SizeY | int32 | Height of the image. | ImageCore.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int64 GetBytesPerPixel() |
Gets the number of bytes per pixel. | ImageCore.h | |
EGammaSpace GetGammaSpace() |
ImageCore.h | ||
int64 GetHeight() |
ImageCore.h | ||
int64 GetImageSizeBytes() |
ImageCore.h | ||
int64 GetNumPixels() |
ImageCore.h | ||
int64 GetPixelOffsetBytes
(
int32 X, |
Get offset of a pixel from the base pointer, in bytes | ImageCore.h | |
int64 GetSliceNumPixels() |
ImageCore.h | ||
int64 GetSliceSizeBytes() |
ImageCore.h | ||
int64 GetStrideBytes() |
ImageCore.h | ||
int64 GetWidth() |
ImageCore.h | ||
bool ImageInfoFromCompactBinary
(
const FCbObject& InObject |
Overwrites the current info with the object's info/. | ImageCore.h | |
void ImageInfoToCompactBinary
(
FCbObject& OutObject |
ImageCore.h | ||
bool IsGammaCorrected() |
ImageCore.h | ||
bool IsImageInfoValid() |
ImageCore.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FImageInfo& rhs |
ImageCore.h |