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

Function create_mesh_sdf_texture_public

native/shared/src/renderer/mod.rs:1488–1493  ·  view source on GitHub ↗

Ticket 014 — re-exposed for `SceneGraph::prepare()` to allocate the per-mesh SDF texture alongside BLAS creation without needing `pub(super)` access to the renderer's format module.

(
    device: &wgpu::Device,
    label: &'static str,
)

Source from the content-addressed store, hash-verified

1486/// the per-mesh SDF texture alongside BLAS creation without needing
1487/// `pub(super)` access to the renderer's format module.
1488pub fn create_mesh_sdf_texture_public(
1489 device: &wgpu::Device,
1490 label: &'static str,
1491) -> (wgpu::Texture, wgpu::TextureView) {
1492 formats::create_mesh_sdf_texture(device, label)
1493}
1494
1495impl Renderer {
1496 pub fn new(

Callers 1

prepareMethod · 0.85

Calls 1

create_mesh_sdf_textureFunction · 0.85

Tested by

no test coverage detected