MCPcopy Create free account
hub / github.com/PistonDevelopers/sprite / from_texture_rect

Method from_texture_rect

src/sprite.rs:65–89  ·  view source on GitHub ↗

Create sprite from a rectangle selection of a texture

(texture: Rc<I>, src_rect: SourceRectangle)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected