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

Class Effect

extensions/olcPGEX_Shaders.h:245–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244
245 class Effect
246 {
247 public:
248 Effect() = default;
249
250 public:
251 bool IsOK() const;
252 const std::string& GetStatus() const;
253 const uint32_t GetTargetSlots() const;
254 const uint32_t GetInputSlots() const;
255
256 protected:
257 friend class Shade;
258 void AppendStatus(const std::string& sMsg);
259 void SetResourceIDs(const uint32_t id, const uint32_t vsid, const uint32_t psid);
260 void SetSlots(const uint32_t nInput, const uint32_t nTarget);
261
262 protected:
263 std::string m_sStatus;
264 uint32_t m_nPSID = 0;
265 uint32_t m_nVSID = 0;
266 uint32_t m_nID = 0;
267 uint32_t m_nInputSlots = 0;
268 uint32_t m_nTargetSlots = 0;
269 };
270
271 class Shade : public olc::PGEX
272 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected