Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Constants

position_offset

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
const position_offset: u32 = 0u

normal_offset

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
const normal_offset: u32 = 3u

tangent_offset

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
const tangent_offset: u32 = 6u

total_component_count

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
const total_component_count: u32 = 9u

Bindings

morph_weights

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
@group(2)
@binding(2)
var<uniform> morph_weights: MorphWeights

morph_targets

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
@group(2)
@binding(3)
var morph_targets: texture_3d<f32>

prev_morph_weights

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
@group(2)
@binding(7)
var<uniform> prev_morph_weights: MorphWeights

Functions

layer_count

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
fn layer_count () -> u32

component_texture_coord

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
fn component_texture_coord (
vertex_index: u32,
component_offset: u32
) -> vec2<u32>

weight_at

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
fn weight_at (
weight_index: u32
) -> f32

prev_weight_at

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
fn prev_weight_at (
weight_index: u32
) -> f32

morph_pixel

#
Used by 1 shader in bevy_pbr 0.17.3
Active when
MORPH_TARGETS
fn morph_pixel (
vertex: u32,
component: u32,
weight: u32
) -> f32

morph

#
Active when
MORPH_TARGETS
fn morph (
vertex_index: u32,
component_offset: u32,
weight_index: u32
) -> vec3<f32>
Contents