Holds texture data for upload to a rendering resource 更多...
#include <SlateTextureData.h>
Public 成员函数 | |
| FSlateTextureData (const uint8 *InBuffer, uint32 InWidth, uint32 InHeight, uint32 InBytesPerPixel) | |
| Constructor to create texture data by copying from a pointer instead of an array 更多... | |
| uint8 * | GetRawBytesPtr () |
| Accesses the raw bytes of already sized texture data | |
Holds texture data for upload to a rendering resource
|
inline |
Constructor to create texture data by copying from a pointer instead of an array
| 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. |