Public Member Functions | Private Member Functions | Private Attributes | List of all members
FDynamicTexture Class Reference

#include <DynamicTexture.h>

Public Member Functions

FTextureUpdateDataAllocBuffer ()
 
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
 

Detailed Description

Definition at line 15 of file DynamicTexture.h.

Constructor & Destructor Documentation

FDynamicTexture::FDynamicTexture ( FString  Name,
int  Width,
int  Height,
EPixelFormat  Format,
TextureCompressionSettings  Compression 
)

Definition at line 4 of file DynamicTexture.cpp.

FDynamicTexture::~FDynamicTexture ( )
virtual

Definition at line 26 of file DynamicTexture.cpp.

Member Function Documentation

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.

int FDynamicTexture::GetBpp ( ) const
inline

Definition at line 53 of file DynamicTexture.h.

TextureCompressionSettings FDynamicTexture::GetCompression ( ) const
inline

Definition at line 55 of file DynamicTexture.h.

EPixelFormat FDynamicTexture::GetFormat ( ) const
inline

Definition at line 54 of file DynamicTexture.h.

int FDynamicTexture::GetHeight ( ) const
inline

Definition at line 52 of file DynamicTexture.h.

UTexture2D* FDynamicTexture::GetTextureObject ( )
inline

Definition at line 50 of file DynamicTexture.h.

int FDynamicTexture::GetWidth ( ) const
inline

Definition at line 51 of file DynamicTexture.h.

void FDynamicTexture::RenderCmd_CreateTexture ( )
private

Definition at line 148 of file DynamicTexture.cpp.

void FDynamicTexture::RenderCmd_UpdateTexture ( FTextureUpdateData Tud)
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.

Member Data Documentation

int FDynamicTexture::Bpp = 0
private

Definition at line 30 of file DynamicTexture.h.

FThreadSafeCounter FDynamicTexture::CommandCounter
private

Definition at line 23 of file DynamicTexture.h.

TextureCompressionSettings FDynamicTexture::Compression = TextureCompressionSettings::TC_VectorDisplacementmap
private

Definition at line 32 of file DynamicTexture.h.

EPixelFormat FDynamicTexture::Format = PF_Unknown
private

Definition at line 31 of file DynamicTexture.h.

int FDynamicTexture::Height = 0
private

Definition at line 29 of file DynamicTexture.h.

FString FDynamicTexture::Name
private

Definition at line 19 of file DynamicTexture.h.

FCriticalSection FDynamicTexture::StateMx
private

Definition at line 25 of file DynamicTexture.h.

UTexture2D* FDynamicTexture::TextureObject = nullptr
private

Definition at line 20 of file DynamicTexture.h.

FCriticalSection FDynamicTexture::TudMx
private

Definition at line 26 of file DynamicTexture.h.

std::vector<FTextureUpdateData*> FDynamicTexture::TudPool
private

Definition at line 22 of file DynamicTexture.h.

int FDynamicTexture::Width = 0
private

Definition at line 28 of file DynamicTexture.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31