We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec9eca commit 02aeeffCopy full SHA for 02aeeff
1 file changed
types/webxr/index.d.ts
@@ -878,6 +878,7 @@ interface XRCompositionLayer extends XRLayer {
878
blendTextureSourceAlpha: boolean;
879
chromaticAberrationCorrection?: boolean | undefined;
880
readonly mipLevels: number;
881
+ quality: XRLayerQuality;
882
readonly needsRedraw: boolean;
883
destroy(): void;
884
@@ -916,6 +917,8 @@ type XRTextureType = "texture" | "texture-array";
916
917
918
type XRLayerLayout = "default" | "mono" | "stereo" | "stereo-left-right" | "stereo-top-bottom";
919
920
+type XRLayerQuality = "default" | "text-optimized" | "graphics-optimized";
921
+
922
interface XRProjectionLayerInit {
923
scaleFactor?: number | undefined;
924
textureType?: XRTextureType | undefined;
0 commit comments