#include <DynamicTexture.h>
Public Member Functions | |
FTextureUpdateData * | AllocBuffer () |
void | CopyData (FTextureUpdateData *Tud, const rs2::video_frame &Frame) |
void | EnqueUpdateCommand (FTextureUpdateData *Tud) |
FDynamicTexture (FString Name, int Width, int Height, EPixelFormat Format, TextureCompressionSettings Compression) | |
int | GetBpp () const |
TextureCompressionSettings | GetCompression () const |
EPixelFormat | GetFormat () const |
int | GetHeight () const |
UTexture2D * | GetTextureObject () |
int | GetWidth () const |
void | Update (const rs2::video_frame &Frame) |
virtual | ~FDynamicTexture () |
Private Member Functions | |
void | RenderCmd_CreateTexture () |
void | RenderCmd_UpdateTexture (FTextureUpdateData *Tud) |
Private Attributes | |
int | Bpp = 0 |
FThreadSafeCounter | CommandCounter |
TextureCompressionSettings | Compression = TextureCompressionSettings::TC_VectorDisplacementmap |
EPixelFormat | Format = PF_Unknown |
int | Height = 0 |
FString | Name |
FCriticalSection | StateMx |
UTexture2D * | TextureObject = nullptr |
FCriticalSection | TudMx |
std::vector< FTextureUpdateData * > | TudPool |
int | Width = 0 |
Definition at line 15 of file DynamicTexture.h.
FDynamicTexture::FDynamicTexture | ( | FString | Name, |
int | Width, | ||
int | Height, | ||
EPixelFormat | Format, | ||
TextureCompressionSettings | Compression | ||
) |
Definition at line 4 of file DynamicTexture.cpp.
|
virtual |
Definition at line 26 of file DynamicTexture.cpp.
FTextureUpdateData * FDynamicTexture::AllocBuffer | ( | ) |
Definition at line 60 of file DynamicTexture.cpp.
void FDynamicTexture::CopyData | ( | FTextureUpdateData * | Tud, |
const rs2::video_frame & | Frame | ||
) |
Definition at line 128 of file DynamicTexture.cpp.
void FDynamicTexture::EnqueUpdateCommand | ( | FTextureUpdateData * | Tud | ) |
Definition at line 86 of file DynamicTexture.cpp.
|
inline |
Definition at line 53 of file DynamicTexture.h.
|
inline |
Definition at line 55 of file DynamicTexture.h.
|
inline |
Definition at line 54 of file DynamicTexture.h.
|
inline |
Definition at line 52 of file DynamicTexture.h.
|
inline |
Definition at line 50 of file DynamicTexture.h.
|
inline |
Definition at line 51 of file DynamicTexture.h.
|
private |
Definition at line 148 of file DynamicTexture.cpp.
|
private |
Definition at line 178 of file DynamicTexture.cpp.
void FDynamicTexture::Update | ( | const rs2::video_frame & | Frame | ) |
Definition at line 108 of file DynamicTexture.cpp.
|
private |
Definition at line 30 of file DynamicTexture.h.
|
private |
Definition at line 23 of file DynamicTexture.h.
|
private |
Definition at line 32 of file DynamicTexture.h.
|
private |
Definition at line 31 of file DynamicTexture.h.
|
private |
Definition at line 29 of file DynamicTexture.h.
|
private |
Definition at line 19 of file DynamicTexture.h.
|
private |
Definition at line 25 of file DynamicTexture.h.
|
private |
Definition at line 20 of file DynamicTexture.h.
|
private |
Definition at line 26 of file DynamicTexture.h.
|
private |
Definition at line 22 of file DynamicTexture.h.
|
private |
Definition at line 28 of file DynamicTexture.h.