Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTextureSource
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitWithCompressedSourceData
(
int32 NewSizeX, |
Initialize the source data with the given size, number of mips, and format. | Engine/Texture.h | |
void InitWithCompressedSourceData
(
int32 NewSizeX, |
Initialize the source data with the given size, number of mips, and format. | Engine/Texture.h |
InitWithCompressedSourceData(int32, int32, int32, ETextureSourceFormat, const TArrayView64< uint8 >, ETextureSourceCompressionFormat)
Description
Initialize the source data with the given size, number of mips, and format.
| Name | InitWithCompressedSourceData |
| 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 |
void InitWithCompressedSourceData
(
int32 NewSizeX,
int32 NewSizeY,
int32 NewNumMips,
ETextureSourceFormat NewFormat,
const TArrayView64< uint8 > NewSourceData,
ETextureSourceCompressionFormat NewSourceFormat
)
Parameters
| Name | Remarks |
|---|---|
| NewSizeX | Width of the texture source data. |
| NewSizeY | Height of the texture source data. |
| NewNumMips | The number of mips in the texture source data. |
| NewFormat | The format in which source data is stored. |
| NewSourceData | The new source data. |
| NewSourceFormat | The compression format of the new source data. |
InitWithCompressedSourceData(int32, int32, int32, ETextureSourceFormat, UE::Serialization::FEditorBulkData::FSharedBufferWithID, ETextureSourceCompressionFormat)
Description
Initialize the source data with the given size, number of mips, and format.
| Name | InitWithCompressedSourceData |
| 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 |
void InitWithCompressedSourceData
(
int32 NewSizeX,
int32 NewSizeY,
int32 NewNumMips,
ETextureSourceFormat NewFormat,
UE::Serialization::FEditorBulkData::FSharedBufferWithID NewSourceData,
ETextureSourceCompressionFormat NewSourceFormat
)
Parameters
| Name | Remarks |
|---|---|
| NewSizeX | Width of the texture source data. |
| NewSizeY | Height of the texture source data. |
| NewNumMips | The number of mips in the texture source data. |
| NewFormat | The format in which source data is stored. |
| NewSourceData | The new source data. |
| NewSourceFormat | The compression format of the new source data. |