Expand description
§Mean Luminance Compute Pipeline
This module implements a GPU-based compute pipeline for calculating the mean luminance of a texture. It provides both the pipeline and command abstractions for integrating mean luminance computation into Tessera UI rendering flows.
§Functionality
- Calculates the average (mean) luminance of a given texture using a compute shader.
- Exposes a
MeanCommand
for issuing the operation and aMeanPipeline
for dispatching the compute workload.
§Typical Use Cases
- Image processing and analysis
- Tone mapping and exposure adaptation in UI or graphics applications
- Adaptive UI rendering based on scene brightness
§Integration
Register and use this pipeline when average brightness information is required for further rendering or UI logic.
See MeanCommand
and MeanPipeline
for usage examples.
Structs§
- Mean
Command - A command to calculate the mean luminance of the input texture. Command to calculate the mean luminance of the input texture.
- Mean
Pipeline - Pipeline for calculating mean luminance using a compute shader.