Skip to content

Describe the purpose of XRRenderState #677

@ddorwin

Description

@ddorwin

The description at https://immersive-web.github.io/webxr/#xrrenderstate-interface currently says, "There are multiple values that developers can configure which affect how the session’s output is composited. These values are tracked by an XRRenderState object." Most [1] other sections describing a type begin with "An XRFoo represents..."

In addition, use of XRRenderStateInit and XRRenderState, including how and when the former is applied, is non-obvious, so it would be nice to provide more information on this. Some of that may belong in updateRenderState() (see #676), but it probably makes sense to document the overall design and use in one location.

[1] XR and XRSession are notable exceptions.

Metadata

Metadata

Assignees

Labels

fixed by pending PRA PR that is in review will resolve this issue.help wantedThis is a good issue for anyone to pick up and work on filing a PR for.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions