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().
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 () | |
DXTextureData | ( | ID3D11Texture2D * | texture2D | ) |
Convenience constructor.
texture2D | The texture object to use. |
DXTextureData | ( | ) |
~DXTextureData | ( | ) |
|
virtual |
Get a pointer to the member data for the class.
Implements TextureData.
ID3D11Texture2D* mTexture2D |
struct { ... } mData |