WebIDLpedia

XRGPUProjectionLayerInit dictionary

Definition

WebXR/WebGPU Binding Module - Level 1 defines XRGPUProjectionLayerInit



dictionary XRGPUProjectionLayerInit {
  required GPUTextureFormat colorFormat;
  GPUTextureFormat? depthStencilFormat;
  GPUTextureUsageFlags textureUsage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
  double scaleFactor = 1.0;
};

Referring IDL interfaces/dictionaries