engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSlateTextureData结构体 参考

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

构造及析构函数说明

◆ FSlateTextureData()

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

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

参数
InBufferPointer to Texture data (must contain InWidth*InHeight*InBytesPerPixel bytes).
InWidthWidth of the Texture.
InHeightHeight of the Texture.
InBytesPerPixelBytes per pixel of the Texture.

该结构体的文档由以下文件生成: