MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / DecalInstance

Class DecalInstance

olcPixelGameEngine.h:1206–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204 // O------------------------------------------------------------------------------O
1205
1206 struct DecalInstance
1207 {
1208 olc::Decal* decal = nullptr;
1209 std::vector<olc::vf2d> pos;
1210 std::vector<olc::vf2d> uv;
1211 std::vector<float> w;
1212 std::vector<float> z;
1213 std::vector<olc::Pixel> tint;
1214 olc::DecalMode mode = olc::DecalMode::NORMAL;
1215 olc::DecalStructure structure = olc::DecalStructure::FAN;
1216 uint32_t points = 0;
1217 bool depth = false;
1218 };
1219
1220 enum class CullMode : uint8_t
1221 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected