Skip to main content

Module shaders

Module shaders 

Source
Expand description

WGSL shader management for OxiGDAL GPU operations.

This module provides utilities for loading, compiling, and validating WGSL compute shaders used in GPU-accelerated raster operations.

Structs§

ComputePipelineBuilder
Builder for compute pipelines with common configurations.
ShaderLibrary
Shader library with common WGSL functions.
WgslShader
WGSL shader wrapper with validation and compilation.

Functions§

create_compute_bind_group_layout
Create a bind group layout for common compute patterns.
storage_buffer_layout
Create a storage buffer bind group layout entry.
uniform_buffer_layout
Create a uniform buffer bind group layout entry.