Triangle primitive used by the simple software rendering pipeline. More...
#include <mxvk/include/mxvk/mxvk_math.h>
Public Attributes | |
| int | attr = 0 |
| Application-defined polygon attributes. | |
| MXCOLOR | color = MXVK_RGB(255, 255, 255) |
| Triangle color. | |
| int | material_index = -1 |
| Index of the OBJ/MTL material used by this triangle, or -1. | |
| std::string | material_name |
| Wavefront material name retained for later MTL replacement. | |
| std::string | source_object_name |
| Wavefront object name from the o section containing this triangle. | |
| int | state = 0 |
| Polygon state flags. | |
| vec4D | tlist [3] {} |
| Transformed vertex positions. | |
| int | vert [3] {} |
| Indices into an object's vertex arrays. | |
| vec4D | vlist [3] {} |
| Working vertex positions. | |
Triangle primitive used by the simple software rendering pipeline.
Definition at line 1326 of file mxvk_math.h.
| int mxvk::Triangle::attr = 0 |
Application-defined polygon attributes.
Definition at line 1337 of file mxvk_math.h.
Triangle color.
Definition at line 1334 of file mxvk_math.h.
| int mxvk::Triangle::material_index = -1 |
Index of the OBJ/MTL material used by this triangle, or -1.
Definition at line 1346 of file mxvk_math.h.
| std::string mxvk::Triangle::material_name |
Wavefront material name retained for later MTL replacement.
Definition at line 1349 of file mxvk_math.h.
| std::string mxvk::Triangle::source_object_name |
Wavefront object name from the o section containing this triangle.
Definition at line 1352 of file mxvk_math.h.
| int mxvk::Triangle::state = 0 |
Polygon state flags.
Definition at line 1340 of file mxvk_math.h.
| vec4D mxvk::Triangle::tlist {} |
| int mxvk::Triangle::vert {} |
| vec4D mxvk::Triangle::vlist {} |