WebIDLpedia

XRProjectionLayerInit dictionary

Definition

WebXR Layers API Level 1 defines XRProjectionLayerInit



dictionary XRProjectionLayerInit {
  XRTextureType textureType = "texture";
  GLenum colorFormat = 0x1908; // RGBA
  GLenum depthFormat = 0x1902; // DEPTH_COMPONENT
  double scaleFactor = 1.0;
  boolean clearOnAccess = true;
};

Referring IDL interfaces/dictionaries