MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / RawTexture

Class RawTexture

src/graphics/texture.rs:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88pub struct RawTexture {
89 gfx: Graphics,
90 pub(crate) id: glow::Texture,
91 width: i32,
92 height: i32,
93}
94
95impl RawTexture {
96 pub fn new(gfx: &Graphics, width: i32, height: i32, data: &[u8]) -> RawTexture {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected