FSlateTextureData::FSlateTextureData

Constructor to create texture data by copying from a pointer instead of an array

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/SlateTextureData.h

Include

#include "Textures/SlateTextureData.h"

Syntax

FSlateTextureData
(
    const uint8 * InBuffer,
    uint32 InWidth,
    uint32 InHeight,
    uint32 InBytesPerPixel
)

Remarks

Constructor to create texture data by copying from a pointer instead of an array

Parameters

Parameter

Description

InBuffer

Pointer to Texture data (must contain InWidth*InHeight*InBytesPerPixel bytes).

InWidth

Width of the Texture.

InHeight

Height of the Texture.

InBytesPerPixel

Bytes per pixel of the Texture.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss