Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTextureSource
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int64 GetBytesPerPixel
(
int32 LayerIndex |
Computes the number of bytes per-pixel. | Engine/Texture.h | |
static int64 GetBytesPerPixel
(
ETextureSourceFormat Format |
Should match ERawImageFormat::GetBytesPerPixel | Engine/Texture.h |
GetBytesPerPixel(int32)
Description
Computes the number of bytes per-pixel.
| Name | GetBytesPerPixel |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
| Include Path | #include "Engine/Texture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
int64 GetBytesPerPixel
(
int32 LayerIndex
) const
GetBytesPerPixel(ETextureSourceFormat)
Description
Should match ERawImageFormat::GetBytesPerPixel
| Name | GetBytesPerPixel |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
| Include Path | #include "Engine/Texture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
static int64 GetBytesPerPixel
(
ETextureSourceFormat Format
)