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

Method register_texture

native/shared/src/renderer/mod.rs:11521–11523  ·  view source on GitHub ↗
(&mut self, width: u32, height: u32, data: &[u8])

Source from the content-addressed store, hash-verified

11519 // block so it can be reused by other capture paths if needed.)
11520
11521 pub fn register_texture(&mut self, width: u32, height: u32, data: &[u8]) -> u32 {
11522 self.register_texture_kind(width, height, data, false)
11523 }
11524
11525 /// Single-mip texture for dynamically updated atlases.
11526 pub fn register_texture_no_mips(&mut self, width: u32, height: u32, data: &[u8]) -> u32 {

Callers 15

bloom_commit_textureFunction · 0.80
bloom_commit_modelFunction · 0.80
bloom_commit_textureFunction · 0.80
bloom_commit_modelFunction · 0.80
bloom_commit_textureFunction · 0.80
bloom_commit_modelFunction · 0.80
bloom_commit_textureFunction · 0.80
bloom_commit_modelFunction · 0.80
load_textureMethod · 0.80
bloom_commit_textureFunction · 0.80

Calls 1

register_texture_kindMethod · 0.80

Tested by

no test coverage detected