class new in Git master
#include <Magnum/Shaders/VectorGL.h>
Configuration Configuration.
Public functions
- auto flags() const -> Flags
- Flags.
- auto setFlags(Flags flags) -> Configuration&
- Set flags.
- auto materialCount() const -> UnsignedInt
- Material count.
- auto setMaterialCount(UnsignedInt count) -> Configuration&
- Set material count.
- auto drawCount() const -> UnsignedInt
- Draw count.
- auto setDrawCount(UnsignedInt count) -> Configuration&
- Set draw count.
Function documentation
Configuration& Magnum:: Shaders:: VectorGL:: Configuration:: setFlags(Flags flags)
Set flags.
No flags are set by default.
UnsignedInt Magnum:: Shaders:: VectorGL:: Configuration:: materialCount() const
Material count.
Configuration& Magnum:: Shaders:: VectorGL:: Configuration:: setMaterialCount(UnsignedInt count)
Set material count.
If Flag::count*sizeof(VectorMaterialUniform)
has to be within GL::count
is ignored. The per-draw materials are specified via VectorDrawUniform::1
.
If Flag::
UnsignedInt Magnum:: Shaders:: VectorGL:: Configuration:: drawCount() const
Draw count.
Configuration& Magnum:: Shaders:: VectorGL:: Configuration:: setDrawCount(UnsignedInt count)
Set draw count.
If Flag::count*sizeof(TransformationProjectionUniform2D)
/ count*sizeof(TransformationProjectionUniform3D)
, count*sizeof(VectorDrawUniform)
and count*sizeof(TextureTransformationUniform)
has to be within GL::count
is ignored. The draw offset is then set via setDrawOffset(). Default value is 1
.
If Flag::