| 1225 | }; |
| 1226 | |
| 1227 | struct GPUTask |
| 1228 | { |
| 1229 | // x y z w u v rgb |
| 1230 | struct Vertex { float p[6]; uint32_t c; }; |
| 1231 | std::vector<Vertex> vb; |
| 1232 | olc::Decal* decal = nullptr; |
| 1233 | olc::DecalStructure structure = olc::DecalStructure::FAN; |
| 1234 | olc::DecalMode mode = olc::DecalMode::NORMAL; |
| 1235 | bool depth = false; |
| 1236 | std::array<float, 16> mvp = { { |
| 1237 | 1, 0, 0, 0, |
| 1238 | 0, 1, 0, 0, |
| 1239 | 0, 0, 1, 0, |
| 1240 | 0, 0, 0, 1 |
| 1241 | } }; |
| 1242 | olc::CullMode cull = olc::CullMode::NONE; |
| 1243 | olc::Pixel tint = olc::WHITE; |
| 1244 | }; |
| 1245 | |
| 1246 | struct LayerDesc |
| 1247 | { |
nothing calls this directly
no outgoing calls
no test coverage detected