Bevy Shader Explorer
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.
Star
☾
Packages
›
bevy_feronia
0.5.6
›
types.wgsl
Copy import path
Save
Structures
SampledNoise
#
Copy import statement
Used by 5 shaders in bevy_feronia 0.5.6
bevy_feronia 0.5.6 — displace.wgsl
bevy_feronia 0.5.6 — instanced.wgsl
bevy_feronia 0.5.6 — noise.wgsl
bevy_feronia 0.5.6 — prepass.wgsl
bevy_feronia 0.5.6 — vertex.wgsl
struct
SampledNoise
{
macro_noise:
f32
,
micro_noise:
f32
,
phase_noise:
vec2
<
f32
>,
}
DisplacedVertex
#
Copy import statement
Used by 4 shaders in bevy_feronia 0.5.6
bevy_feronia 0.5.6 — displace.wgsl
bevy_feronia 0.5.6 — instanced.wgsl
bevy_feronia 0.5.6 — prepass.wgsl
bevy_feronia 0.5.6 — vertex.wgsl
struct
DisplacedVertex
{
world_position:
vec4
<
f32
>,
world_normal:
vec3
<
f32
>,
world_tangent:
vec4
<
f32
>,
}
InstanceInfo
#
Copy import statement
Used by 5 shaders in bevy_feronia 0.5.6
bevy_feronia 0.5.6 — displace.wgsl
bevy_feronia 0.5.6 — instanced.wgsl
bevy_feronia 0.5.6 — noise.wgsl
bevy_feronia 0.5.6 — prepass.wgsl
bevy_feronia 0.5.6 — vertex.wgsl
struct
InstanceInfo
{
world_from_local:
mat4x4
<
f32
>,
instance_position:
vec4
<
f32
>,
wrapped_time:
f32
,
instance_index:
u32
,
tangent:
vec4
<
f32
>,
VERTEX_TANGENTS
}
Contents
Structures
SampledNoise
DisplacedVertex
InstanceInfo