class
#include <Magnum/Shaders/LineGL.h>
Configuration Configuration.
Public functions
- auto flags() const -> Flags
- Flags.
- auto setFlags(Flags flags) -> Configuration&
- Set flags.
- auto capStyle() const -> LineCapStyle
- Cap style.
- auto setCapStyle(LineCapStyle style) -> Configuration&
- Set cap style.
- auto joinStyle() const -> LineJoinStyle
- Join style.
- auto setJoinStyle(LineJoinStyle style) -> Configuration&
- Set join style.
- 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:: LineGL:: Configuration:: setFlags(Flags flags)
Set flags.
No flags are set by default.
Configuration& Magnum:: Shaders:: LineGL:: Configuration:: setCapStyle(LineCapStyle style)
Set cap style.
Unlike for example the SVG specification that uses LineCapStyle::
Configuration& Magnum:: Shaders:: LineGL:: Configuration:: setJoinStyle(LineJoinStyle style)
Set join style.
Default value is LineJoinStyle::
Configuration& Magnum:: Shaders:: LineGL:: Configuration:: setMaterialCount(UnsignedInt count)
Set material count.
If Flag::count*sizeof(LineMaterialUniform)
has to be within GL::count
is ignored. The per-draw materials are specified via LineDrawUniform::1
.
If Flag::
Configuration& Magnum:: Shaders:: LineGL:: Configuration:: setDrawCount(UnsignedInt count)
Set draw count.
If Flag::count*sizeof(TransformationProjectionUniform2D)
/ count*sizeof(TransformationProjectionUniform3D)
and count*sizeof(LineDrawUniform)
has to be within GL::count
is ignored. The draw offset is set via setDrawOffset(). Default value is 1
.
If Flag::