Skip to content

Consider moving baseLayer from XRRenderState[Init] to XRSession #680

Closed
@ddorwin

Description

@ddorwin

As mentioned in #677, the members of XRRenderState[Init] were grouped together because they are applied at the same time. This makes sense for the doubles, but should baseLayer be grouped in with them?

Consider:

One possible solution - without trying to address multiple layers now - would be to add void updateBaseLayer(XRLayer baseLayer); to XRSession. The timing for when the new layer gets applied would be the same as updateRenderState(). (Per #513, we probably don't need to expose the current value.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions