Fove SDK  v0.16.0
Public Attributes | List of all members
Fove_CompositorLayer Struct Reference

Struct used to store information about an existing compositor layer (after it is created) More...

#include <FoveAPI.h>

Collaboration diagram for Fove_CompositorLayer:
Collaboration graph
[legend]

Public Attributes

Fove_Vec2i idealResolutionPerEye = {}
 
int layerId = 0
 Uniquely identifies a compositor layer.
 

Detailed Description

Struct used to store information about an existing compositor layer (after it is created)

This exists primarily for future expandability.

Member Data Documentation

◆ idealResolutionPerEye

Fove_Vec2i Fove_CompositorLayer::idealResolutionPerEye = {}

The optimal resolution for a submitted buffer on this layer (for a single eye). Clients are allowed to submit buffers of other resolutions. In particular, clients can use a lower resolution buffer to reduce their rendering overhead.