Module uniform

Module uniform 

Source

Structsยง

Uniform
A UniformVec with a single element usefull for cameras etc.
UniformBindGroup
A uniform inside a BindGroup
UniformRef
A struct mutably referencing a Uniform to edit its content and update it when UniformRef is droped.
UniformVec
A Buffer with a vector that can be used as a Unform directly. It keeps a copy of the content in memory for easier updates. TODO: Remove content.
UniformVecRef
A struct mutably referencing a UniformVec to edit its content and update it when UniformVecRef is droped.