setFoveation method
void
setFoveation(
- dynamic foveation
Implementation
void setFoveation( foveation ) {
// 0 = no foveation = full resolution
// 1 = maximum foveation = the edges render at lower resolution
if ( glProjLayer != null ) {
glProjLayer.fixedFoveation = foveation;
}
if ( glBaseLayer != null && glBaseLayer.fixedFoveation != null ) {
glBaseLayer.fixedFoveation = foveation;
}
}