---
title: cp_view_t
framework: compositorservices
role: symbol
role_heading: Type Alias
path: compositorservices/cp_view_t
---

# cp_view_t

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

## Declaration

```occ
typedef struct cp_view * cp_view_t;
```

## Discussion

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

- [textureMap](compositorservices/layerrenderer/drawable/view/texturemap-swift.property.md)
- [cp_view_texture_map_t](compositorservices/cp_view_texture_map_t.md)

### Getting the transformations

- [transform](compositorservices/layerrenderer/drawable/view/transform.md)
- [tangents](compositorservices/layerrenderer/drawable/view/tangents.md)
