Function luminance::pipeline::entry
[−]
[src]
pub fn entry<F>(f: F) where
F: FnOnce(Gpu),
This is the entry point of a render.
You’re handed a Gpu
object that allows you to perform stateful operations on the GPU. For
instance, you can bind textures and buffers to use them in shaders.