Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions types/webxr/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ interface XRCompositionLayer extends XRLayer {
blendTextureSourceAlpha: boolean;
chromaticAberrationCorrection?: boolean | undefined;
readonly mipLevels: number;
quality: XRLayerQuality;
readonly needsRedraw: boolean;
destroy(): void;

Expand Down Expand Up @@ -916,6 +917,8 @@ type XRTextureType = "texture" | "texture-array";

type XRLayerLayout = "default" | "mono" | "stereo" | "stereo-left-right" | "stereo-top-bottom";

type XRLayerQuality = "default" | "text-optimized" | "graphics-optimized";

interface XRProjectionLayerInit {
scaleFactor?: number | undefined;
textureType?: XRTextureType | undefined;
Expand Down