Metal-specific texture data.
MetalTextureData object passed to Vuforia to set the Metal texture pointer to the video background texture created by the app.
Use with Renderer::setVideoBackgroundTexture() and in conjunction with Renderer::updateVideoBackgroundTexture().
Public Member Functions | |
MetalTextureData (id< MTLTexture > videoBackgroundTexture=nil) | |
Convenience constructor. More... | |
~MetalTextureData () | |
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 | |
id< MTLTexture > | mVideoBackgroundTexture |
Additional Inherited Members | |
Protected Member Functions inherited from TextureData | |
TextureData (int type) | |
Construct with a specific type (one of Vuforia::INIT_FLAGS). More... | |
~TextureData () | |
MetalTextureData | ( | id< MTLTexture > | videoBackgroundTexture = nil | ) |
Convenience constructor.
videoBackgroundTexture | The video background texture to use. |
~MetalTextureData | ( | ) |
|
virtual |
Get a pointer to the member data for the class.
Implements TextureData.
id<MTLTexture> mVideoBackgroundTexture |