Contents

cp_view_t

A type that provides information on how to render content into the frame’s textures.

Declaration

typedef struct cp_view * cp_view_t;

Discussion

Compositor Services provides a view for each distinct render viewpoint. For example, a head-mounted display typically contains two views: one for each eye. Use the information in the views to set up your render pass descriptor, or to determine which part of a texture to fill with content.

Topics

Getting the view’s texture map

Getting the transformations