MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / is_translucent

Method is_translucent

native/shared/src/renderer/material_pipeline.rs:270–272  ·  view source on GitHub ↗

True if this bucket dispatches in the translucent sub-pass (single HDR attachment, alpha/additive blending) rather than the main HDR pass.

(self)

Source from the content-addressed store, hash-verified

268 /// (single HDR attachment, alpha/additive blending) rather than
269 /// the main HDR pass.
270 pub fn is_translucent(self) -> bool {
271 matches!(self, Bucket::Transparent | Bucket::Refractive | Bucket::Additive)
272 }
273 /// True if this bucket requires a SceneColor snapshot before it
274 /// runs. Only Refractive does today; future buckets (e.g.
275 /// VolumetricFog) may join.

Callers 2

submit_drawMethod · 0.80
submit_draw_instancedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected