|
coastline 0.0.4
|
A texture of a glTF document, as the RDP samples it. More...
#include <n64model.h>

Public Attributes | |
| std::string | uri |
| int | width = 0 |
| int | height = 0 |
| std::vector< std::uint8_t > | rgba |
| std::vector< std::uint8_t > | indices |
| The 4-bit texels of an image the colour of a car paints, two to a byte with the first in the high four bits and each row starting on a byte, or empty for an image of RGBA texels. | |
| std::vector< std::uint8_t > | palette |
| The 16 colours of the texels of indices, each a big-endian RGBA5551 half. | |
| int | paintMaterial = -1 |
| The material of the car, a VEHICLE_MATERIAL_ value, whose entry of the palette gives the alpha of the paint of the image. | |
| std::size_t | address = 0 |
| The offset of the texels in the image of the model. | |
A texture of a glTF document, as the RDP samples it.
| std::string coastline::GltfImage::uri |
The URI the document gives the image.
| int coastline::GltfImage::width = 0 |
The width in texels.
| int coastline::GltfImage::height = 0 |
The height in texels.
| std::vector<std::uint8_t> coastline::GltfImage::rgba |
The texels as 8-bit RGBA, row by row from the top.
| std::vector<std::uint8_t> coastline::GltfImage::indices |
The 4-bit texels of an image the colour of a car paints, two to a byte with the first in the high four bits and each row starting on a byte, or empty for an image of RGBA texels.
| std::vector<std::uint8_t> coastline::GltfImage::palette |
The 16 colours of the texels of indices, each a big-endian RGBA5551 half.
| int coastline::GltfImage::paintMaterial = -1 |
The material of the car, a VEHICLE_MATERIAL_ value, whose entry of the palette gives the alpha of the paint of the image.
| std::size_t coastline::GltfImage::address = 0 |
The offset of the texels in the image of the model.