|
coastline 0.0.4
|
How a run of flat quads is coloured: the textures and the colour combiner of the RDP. More...
#include <scenerenderer.h>

Public Attributes | |
| const RenderTexture * | texel0 = nullptr |
| const RenderTexture * | texel1 = nullptr |
| std::array< std::uint32_t, 2 > | combine {} |
| bool | twoCycle = false |
| std::array< float, 4 > | prim {1.0f, 1.0f, 1.0f, 1.0f} |
| std::array< float, 4 > | env {1.0f, 1.0f, 1.0f, 1.0f} |
| std::array< float, 4 > | texel1Transform {1.0f, 1.0f, 0.0f, 0.0f} |
| The scale of u and v, then their offset, from the texels of texel0 to those of texel1. | |
| float | alphaCut = -1.0f |
| bool | ditherOpacity = false |
How a run of flat quads is coloured: the textures and the colour combiner of the RDP.
| const RenderTexture* coastline::FlatMaterial::texel0 = nullptr |
The first texture, or none for white.
| const RenderTexture* coastline::FlatMaterial::texel1 = nullptr |
The second texture, or none for white.
| std::array<std::uint32_t, 2> coastline::FlatMaterial::combine {} |
The words of the combiner, or 0 for texel times colour.
| bool coastline::FlatMaterial::twoCycle = false |
Whether the combiner runs both of its cycles.
| std::array<float, 4> coastline::FlatMaterial::prim {1.0f, 1.0f, 1.0f, 1.0f} |
The primitive colour.
| std::array<float, 4> coastline::FlatMaterial::env {1.0f, 1.0f, 1.0f, 1.0f} |
The environment colour.
| std::array<float, 4> coastline::FlatMaterial::texel1Transform {1.0f, 1.0f, 0.0f, 0.0f} |
The scale of u and v, then their offset, from the texels of texel0 to those of texel1.
| float coastline::FlatMaterial::alphaCut = -1.0f |
The alpha below which nothing is drawn, below 0 for none.
| bool coastline::FlatMaterial::ditherOpacity = false |
Ordered opacity with depth writes instead of blending.