FTextureSource::GetBytesPerPixel

Computes the number of bytes per-pixel.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h

Include

#include "Engine/Texture.h"

Source

/Engine/Source/Runtime/Engine/Private/Texture.cpp

Syntax

int32 GetBytesPerPixel
(
    int32 LayerIndex
) const

Remarks

Computes the number of bytes per-pixel.