Raytrix Light Field SDK  4.0
Logo
Public Member Functions | List of all members
Rx::LFR::Net::ICudaDataTextures Class Reference

Detailed Description

A CUDA data textures.

Inherits NativeExternWrapper< Rx::LFR::ICudaDataTextures >.

Public Member Functions

 ICudaDataTextures (Rx::LFR::ICudaDataTextures *pxNative)
 Constructor. More...
 
 ~ICudaDataTextures ()
 Destructor. More...
 
virtual Rx::Net::ImageFormatGetImageFormat (EImage eImgID)
 Gets the image format of the image defined by the given ID. More...
 
virtual void UpdateTexture (EImage eImgID, OpenGlInterop^ xOpenGL, bool bCreateMipmaps)
 Updates the OpenGL texture of the image defined by the given ID. More...
 
virtual void UpdateTexture (EImage eImgID, OpenGlInterop^ xOpenGL)
 Updates the OpenGL texture of the image defined by the given ID. More...
 

Constructor & Destructor Documentation

Rx::LFR::Net::ICudaDataTextures::ICudaDataTextures ( Rx::LFR::ICudaDataTextures pxNative)
inline

Constructor.

Parameters
pxNative[in,out] If non-null, the pointer to the native representation.
Rx::LFR::Net::ICudaDataTextures::~ICudaDataTextures ( )
inline

Destructor.

Member Function Documentation

virtual Rx::Net::ImageFormat ^ Rx::LFR::Net::ICudaDataTextures::GetImageFormat ( EImage  eImgID)
inlinevirtual

Gets the image format of the image defined by the given ID.

Parameters
eImgIDThe image ID.
Returns
The image format.
virtual void Rx::LFR::Net::ICudaDataTextures::UpdateTexture ( EImage  eImgID,
OpenGlInterop xOpenGL,
bool  bCreateMipmaps 
)
inlinevirtual

Updates the OpenGL texture of the image defined by the given ID.

This copies the image into the texture and creates a valid texture ID if the texture has not been created before. The calling thread must own the OpenGL context that owns the texture.

Parameters
eImgIDThe image ID.
xOpenGL[in] The OpenGlInterop class.
bCreateMipmapsTrue to create mipmaps of the texture.
virtual void Rx::LFR::Net::ICudaDataTextures::UpdateTexture ( EImage  eImgID,
OpenGlInterop xOpenGL 
)
inlinevirtual

Updates the OpenGL texture of the image defined by the given ID.

This copies the image into the texture and creates a valid texture ID if the texture has not been created before. The calling thread must own the OpenGL context that owns the texture.

Parameters
eImgIDThe image ID.
xOpenGL[in] The OpenGlInterop class.