Module luminance::backend::texture [−][src]
Expand description
Texture backend interface.
This interface defines the low-level API textures must implement to be usable.
In order to add support for textures, you have to implement two traits:
TextureBase
, which is a type family providing the backend representation of a texture. This is needed so that other part of the crate don’t have to rely on a too abstraction.- The rest of the abstraction, bigger, is
Texture
.
You will have to implement both traits to be able to use textures.
Traits
Texture interface.
Type family giving the backend representation type.