MCPcopy Create free account
hub / github.com/K0bin/SourceRenderer / add_texture_data

Method add_texture_data

engine/src/asset/asset_manager.rs:330–344  ·  view source on GitHub ↗
(
        self: &Arc<Self>,
        path: &str,
        info: &TextureInfo,
        texture_data: Box<[u8]>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

buildMethod · 0.80

Calls 3

add_asset_dataMethod · 0.80
TextureClass · 0.50
cloneMethod · 0.45

Tested by

no test coverage detected