C++ Java Unity
C++ Reference
VideoBackgroundTextureInfo Struct Reference

Detailed Description

Defines texture information for rendering the video background.

Public Attributes

Vec2I mTextureSize
 Width and height of the video background texture in pixels. More...
 
Vec2I mImageSize
 Width and height of the video background image in pixels. More...
 
PIXEL_FORMAT mPixelFormat
 Format of the video background image. More...
 

Member Data Documentation

Vec2I mTextureSize

Width and height of the video background texture in pixels.

Describes the size of the texture in the graphics unit. Depending on the particular hardware, the values may be the next power of two greater than the image size.

Vec2I mImageSize

Width and height of the video background image in pixels.

Describe the size of the image inside the texture. This corresponds to the size of the image delivered by the camera, and (depending on graphics hardware) may not be the same as mTextureSize.

PIXEL_FORMAT mPixelFormat

Format of the video background image.

Describe the pixel format of the camera image.