Back home 🏡 WGSL Spec Bevy WGSL Functions

animate_shader.wgsl

Functions

oklab_to_linear_srgb

#
fn oklab_to_linear_srgb(c: vec3<f32>) -> vec3<f32>
Parameter Type
c vec3<f32>
Returns: vec3<f32>

fragment

#
@fragment
fn fragment(in: VertexOutput) -> @location(0) vec4<f32>
Parameter Type
in VertexOutput
Returns: @location(0) vec4<f32>