Tilt Five NDK
T5_FrameInfo Struct Reference

Render information to be used with t5SendFrameToGlasses() More...

#include <types.h>

Collaboration diagram for T5_FrameInfo:

Data Fields

void * leftTexHandle
 Texture handle for the left image. More...
 
void * rightTexHandle
 Texture handle for the right image. More...
 
uint16_t texWidth_PIX
 Width of the textures pointed to by leftTexHandle and rightTexHandle. More...
 
uint16_t texHeight_PIX
 Height of the textures pointed to by leftTexHandle and rightTexHandle. More...
 
bool isSrgb
 True if the texture is srgb. This is only relevant for the OpenGL graphics API. More...
 
bool isUpsideDown
 True if the image is 'upside down'. More...
 
struct {
   float   startX_VCI
 
   float   startY_VCI
 
   float   width_VCI
 
   float   height_VCI
 
vci
 The image rectangle in the normalized (z=1) image space of the virtual cameras.
 
T5_Quat rotToLVC_STAGE
 The rotation from STAGE to VC, the virtual camera reference frame for the left eye. More...
 
T5_Vec3 posLVC_STAGE
 The position of VC, the virtual camera reference frame, relative to STAGE for the left eye. More...
 
T5_Quat rotToRVC_STAGE
 The rotation from STAGE to VC, the virtual camera reference frame for the right eye. More...
 
T5_Vec3 posRVC_STAGE
 The position of VC, the virtual camera reference frame, relative to STAGE for the right eye. More...
 

Detailed Description

Render information to be used with t5SendFrameToGlasses()

Definition at line 421 of file types.h.

Field Documentation

◆ height_VCI

float T5_FrameInfo::height_VCI

Definition at line 453 of file types.h.

◆ isSrgb

bool T5_FrameInfo::isSrgb

True if the texture is srgb. This is only relevant for the OpenGL graphics API.

Definition at line 443 of file types.h.

◆ isUpsideDown

bool T5_FrameInfo::isUpsideDown

True if the image is 'upside down'.

Definition at line 446 of file types.h.

◆ leftTexHandle

void* T5_FrameInfo::leftTexHandle

Texture handle for the left image.

The meaning of the handle will depend on the current graphics API.

See also
aboutGraphicsApi for further details.

Definition at line 427 of file types.h.

◆ posLVC_STAGE

T5_Vec3 T5_FrameInfo::posLVC_STAGE

The position of VC, the virtual camera reference frame, relative to STAGE for the left eye.

Definition at line 461 of file types.h.

◆ posRVC_STAGE

T5_Vec3 T5_FrameInfo::posRVC_STAGE

The position of VC, the virtual camera reference frame, relative to STAGE for the right eye.

Definition at line 468 of file types.h.

◆ rightTexHandle

void* T5_FrameInfo::rightTexHandle

Texture handle for the right image.

The meaning of the handle will depend on the current graphics API.

See also
aboutGraphicsApi for further details.

Definition at line 434 of file types.h.

◆ rotToLVC_STAGE

T5_Quat T5_FrameInfo::rotToLVC_STAGE

The rotation from STAGE to VC, the virtual camera reference frame for the left eye.

Definition at line 457 of file types.h.

◆ rotToRVC_STAGE

T5_Quat T5_FrameInfo::rotToRVC_STAGE

The rotation from STAGE to VC, the virtual camera reference frame for the right eye.

Definition at line 464 of file types.h.

◆ startX_VCI

float T5_FrameInfo::startX_VCI

Definition at line 450 of file types.h.

◆ startY_VCI

float T5_FrameInfo::startY_VCI

Definition at line 451 of file types.h.

◆ texHeight_PIX

uint16_t T5_FrameInfo::texHeight_PIX

Height of the textures pointed to by leftTexHandle and rightTexHandle.

Definition at line 440 of file types.h.

◆ texWidth_PIX

uint16_t T5_FrameInfo::texWidth_PIX

Width of the textures pointed to by leftTexHandle and rightTexHandle.

Definition at line 437 of file types.h.

◆ width_VCI

float T5_FrameInfo::width_VCI

Definition at line 452 of file types.h.


The documentation for this struct was generated from the following file: