Struct luminance::pipeline::TextureBinding [−][src]
pub struct TextureBinding<D, S> { /* fields omitted */ }
Expand description
Opaque texture binding.
This type represents a bound Texture
via BoundTexture
. It can be used along with a
Uniform
to customize a shader’s behavior.
Parametricity
D
is the dimension of the original texture. It must implementDimensionable
in most useful methods.S
is the sampler type. It must implementSamplerType
in most useful methods.
Notes
You shouldn’t try to do store / cache or do anything special with that value. Consider it an opaque object.