C++ Java Unity
C++ Reference
DXTextureData Class Reference

Detailed Description

DirectX-specific texture data.

DXTextureData object passed to Vuforia to set the DX texture info of the video background texture created by the app.

Use with Renderer::setVideoBackgroundTexture() and in conjunction with Renderer::updateVideoBackgroundTexture().

Inheritance diagram for DXTextureData:
TextureData

Public Member Functions

 DXTextureData (ID3D11Texture2D *texture2D)
 Convenience constructor. More...
 
 DXTextureData ()
 
 ~DXTextureData ()
 
virtual const void * buffer () const
 Get a pointer to the member data for the class. More...
 
- Public Member Functions inherited from TextureData
int type () const
 Get the type of data in use (one of Vuforia::INIT_FLAGS). More...
 

Public Attributes

struct {
   ID3D11Texture2D *   mTexture2D
 
mData
 

Additional Inherited Members

- Protected Member Functions inherited from TextureData
 TextureData (int type)
 Construct with a specific type (one of Vuforia::INIT_FLAGS). More...
 
 ~TextureData ()
 

Constructor & Destructor Documentation

DXTextureData ( ID3D11Texture2D *  texture2D)

Convenience constructor.

Parameters
texture2DThe texture object to use.

Member Function Documentation

virtual const void* buffer ( ) const
virtual

Get a pointer to the member data for the class.

Implements TextureData.

Member Data Documentation

ID3D11Texture2D* mTexture2D
struct { ... } mData