Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Textures
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Textures/SlateTextureData.h |
Include | #include "Textures/SlateTextureData.h" |
Syntax
struct FSlateTextureData
Remarks
Holds texture data for upload to a rendering resource
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateTextureData
(
const FSlateTextureData& Other |
||
![]() |
FSlateTextureData
(
uint32 InWidth, |
||
![]() |
FSlateTextureData
(
uint32 InWidth, |
||
![]() |
FSlateTextureData
(
const uint8* InBuffer, |
Constructor to create texture data by copying from a pointer instead of an array |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Empty () |
|
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | GetHeight () |
|
![]() ![]() |
const TArray< uint8 > & | GetRawBytes () |
|
![]() |
uint8 * | Accesses the raw bytes of already sized texture data | |
![]() ![]() |
uint32 | GetWidth () |
|
![]() |
void | SetRawData
(
uint32 InWidth, |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateTextureData & | operator=
(
const FSlateTextureData& Other |