Private constructorProtected bindProtected doesReadonly lutReadonly targetProtected makeProtected makeReplaces potentially screen-size dependent external resources (depth buffer) in the internal bind groups.
The depth buffer to limit the ray marching distance when rendering the sky / atmosphere.
                   If this is a textue, a texture view will be created.
                   If this is a texture view, it must be allowed to be bound as a texture<f32>.
                   I.e., if the texture has a depth-stencil format, the texture view must be a "depth-only" view.
Optional atmosphere: AtmosphereOptional uniforms: UniformsOptional uniforms: UniformsOptional atmosphere: AtmosphereOptional skipDynamicLutRendering: booleanOptional forceConstantLutRendering: booleanOptional forceSkyViewLutRendering: booleanStatic createCreates a SkyAtmosphereComputeRenderer.
The GPUDevice used to create internal resources (textures, pipelines, etc.).
A SkyAtmosphereRasterRendererConfig used to configure internal resources and behavior.
Optional existingLutRenderer: SkyAtmosphereLutRendererIf this is defined, no new internal SkyAtmosphereLutRenderer will be created. Instead, the existing one is used.
Optional existingPipelines: SkyAtmospherePipelinesIf this is defined, no new pipelines for rendering the internal lookup tables will be created. Instead, the existing pipelines given will be reused. The existing pipelines must be compatible with the SkyAtmosphereRendererConfig. Especially, SkyAtmosphereRendererConfig.lookUpTables and SkyAtmosphereRendererConfig.shadow should be the same.
Optional existingResources: SkyAtmosphereResourcesIf this is defined, no new resources (buffers, textures, samplers) will be created. Instead, the existing resources given will be used.
Static createAsynchronously creates a SkyAtmosphereComputeRenderer.
All pipelines used by this renderer are created asynchronously.
The GPUDevice used to create internal resources (textures, pipelines, etc.).
A SkyAtmosphereRasterRendererConfig used to configure internal resources and behavior.
Optional existingLutRenderer: SkyAtmosphereLutRendererIf this is defined, no new internal SkyAtmosphereLutRenderer will be created. Instead, the existing one is used.
Optional existingPipelines: SkyAtmospherePipelinesIf this is defined, no new pipelines for rendering the internal lookup tables will be created. Instead, the existing pipelines given will be reused. The existing pipelines must be compatible with the SkyAtmosphereRendererConfig. Especially, SkyAtmosphereRendererConfig.lookUpTables and SkyAtmosphereRendererConfig.shadow should be the same.
Optional existingResources: SkyAtmosphereResourcesIf this is defined, no new resources (buffers, textures, samplers) will be created. Instead, the existing resources given will be used.
Static Private makeStatic Protected makeStatic Protected makeStatic Private make
A sky / atmosphere renderer that renders the sky using full-resolution ray marching. It uses
GPURenderPipelines to render the sky / atmosphere.