Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

pbr_deferred_functions.wgsl

Import path

Functions

deferred_gbuffer_from_pbr_input

#

Creates the deferred gbuffer from a PbrInput.

fn deferred_gbuffer_from_pbr_input ( ) -> vec4<u32>

pbr_input_from_deferred_gbuffer

#

Creates a PbrInput from the deferred gbuffer.

fn pbr_input_from_deferred_gbuffer (
frag_coord: vec4<f32>
gbuffer: vec4<u32>
) -> PbrInput

deferred_output

#

Shader defs requirments:

🟢 PREPASS_PIPELINE

fn deferred_output (
pbr_input: PbrInput
) -> FragmentOutput