MayaFlux 1.0.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 that line ribbons and point quads are built in. More...

Public Attributes

bool billboard_instances { false }
 Keep point quads and ribbons unexpanded for an instanced draw.
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 UVs across each ribbon and quad instead of copying the source.
bool use_vertex_extent { true }
 Take ribbon width and point size from each vertex's own scalar (LineVertex::thickness, PointVertex::size) instead of 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: