MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::MillSpec Struct Reference

How a PrimitiveMill shapes spans. More...

#include <PrimitiveMill.hpp>

+ Collaboration diagram for MayaFlux::Portal::Graphics::MillSpec:

Public Types

enum class  Ribbon : uint8_t { WorldFacing , WorldPlane }
 Plane a line span's ribbon and a point span's quad are built in. More...
 

Public Attributes

float fallback_extent { 2.0F }
 Extent used when the layout carries no scalar attribute.
 
float point_scale { 0.004F }
 World units per unit of a vertex's own size, on point spans.
 
Ribbon ribbon { Ribbon::WorldFacing }
 
bool synthesize_uv { true }
 Write 0..1 across each ribbon and quad rather than copying source.
 
bool use_vertex_extent { true }
 Take ribbon width and point size from each vertex's own scalar (LineVertex::thickness, PointVertex::size) rather than fallback_extent.
 
float width_scale { 0.05F }
 World units of total ribbon width per unit of a vertex's scalar.
 

Detailed Description

How a PrimitiveMill shapes spans.

Stable across dispatches.

Definition at line 18 of file PrimitiveMill.hpp.


The documentation for this struct was generated from the following file: