Skip to main content

Module encode

Module encode 

Source
Expand description

Encoding shading patterns for easy sampling.

Structs§

EncodedDummyShading
Encoded dummy shading.
EncodedFunctionBasedShading
Encoded function-based shading.
EncodedRadialAxialShading
Encoded axial or radial shading.
EncodedSampledShading
Encoded sampled mesh shading.
EncodedShadingPattern
A shading pattern that was encoded so it can be sampled.
ShadingTexture
A shading that was rasterized into a texture.

Enums§

EncodedShadingType
The encoded shading type.

Functions§

texture_dimensions
Return the texture dimensions EncodedShadingPattern::sample_texture uses for the given bounding box and scale factor.