Skip to main content

Module gpu_utils

Module gpu_utils 

Source
Expand description

Common GPU utilities for texture and sampler creation.

This module provides reusable helper functions for common wgpu operations to reduce code duplication across renderer modules.

Functionsยง

create_sampler_with_filter
Create a sampler with the specified filter mode and ClampToEdge address mode.