WebIDLpedia

XRRenderState interface

Definition

WebXR Device API defines XRRenderState



[SecureContext, Exposed=Window] interface XRRenderState {
  readonly attribute double depthNear;
  readonly attribute double depthFar;
  readonly attribute double? inlineVerticalFieldOfView;
  readonly attribute XRWebGLLayer? baseLayer;
};

This interface is extended in the following specifications:

Consolidated IDL (across mixin and partials)


[SecureContext, Exposed=Window] interface XRRenderState {
  readonly attribute double depthNear;
  readonly attribute double depthFar;
  readonly attribute double? inlineVerticalFieldOfView;
  readonly attribute XRWebGLLayer? baseLayer;
  readonly attribute FrozenArray<XRLayer> layers;
};

Methods and attributes that return objects implementing XRRenderState

Referring IDL interfaces/dictionaries

Referring specifications