PistonDevelopers / texture

A library for texture conventions
MIT License
7 stars 4 forks source link

Add `Texture` trait #47

Closed bvssvni closed 5 years ago

bvssvni commented 5 years ago

Alternative to https://github.com/PistonDevelopers/texture/issues/46

Instead of inheriting from the same TextureError trait, a trait Texture could be added that inherits CreateTexture and UpdateTexture with equal associated error types.

bvssvni commented 5 years ago

To avoid naming collision with Texture structs in various places, one could use Tex or TextureOps.

bvssvni commented 5 years ago

Closed in favor of https://github.com/PistonDevelopers/texture/issues/46