Precompiled diffuse lighting projections over the shared lighting parameter layout. More...
#include <cstdint>#include "donner/gpu/shader/CompiledShader.h"#include "donner/gpu/shader/programs/LightingParams.h"Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| const CompiledShaderView & | donner::gpu::shader::programs::DiffuseLightingShader () |
| Returns the WGSL diffuse-lighting artifact for distant, point and spot lights. | |
| const CompiledShaderView & | donner::gpu::shader::programs::DiffuseLightingNativeShader () |
| Returns only the platform-native DiffuseLighting projection. | |
Precompiled diffuse lighting projections over the shared lighting parameter layout.
| const CompiledShaderView & donner::gpu::shader::programs::DiffuseLightingNativeShader | ( | ) |
Returns only the platform-native DiffuseLighting projection.
| const CompiledShaderView & donner::gpu::shader::programs::DiffuseLightingShader | ( | ) |
Returns the WGSL diffuse-lighting artifact for distant, point and spot lights.