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:
- WebXR Layers API Level 1
[SecureContext, Exposed=Window] partial interface XRRenderState { readonly attribute FrozenArray<XRLayer> layers; };
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
- WebXR Layers API Level 1 refers to
XRRenderState