Skip to content

Commit

Permalink
Merge pull request #306 from tidoust/redraw
Browse files Browse the repository at this point in the history
Fix target interfaces in definition of `redraw` event
  • Loading branch information
cabanier authored Apr 22, 2024
2 parents 6a896da + 05fc8ae commit 64a37a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webxrlayers-1.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ Event Types {#event-types}

The user agent MUST provide the following new events. Registration for and firing of the events must follow the usual behavior of DOM4 Events.

The user agent MAY fire a <dfn event for="XRLayer">redraw</dfn> event on the {{XRLayer}} object when [=the underlying resources of a layer are lost=] or
The user agent MAY fire a <dfn event for="XRQuadLayer,XRCylinderLayer,XREquirectLayer,XRCubeLayer">redraw</dfn> event on the {{XRLayer}} object when [=the underlying resources of a layer are lost=] or
when the [=XR Compositor=] can no longer reproject the layer.

The author SHOULD redraw the content of the layer at the next [=XR animation frame=]. The event must be of type {{XRLayerEvent}}.
Expand Down

0 comments on commit 64a37a4

Please sign in to comment.