Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include |
#include "Engine/Texture.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Texture.cpp |
Initialize the source data with the given size, number of mips, and format.
Parameter |
Description |
---|---|
NewSizeX |
Width of the texture source data. |
NewSizeY |
Height of the texture source data. |
NewNumSlices |
The number of slices in the texture source data. |
NewNumMips |
The number of mips in the texture source data. |
NewFormat |
The format in which source data is stored. |
NewData |
[optional] The new source data. |