Add setting for ubershaders

This commit is contained in:
wheremyfoodat 2024-07-17 02:25:38 +03:00
parent a4ec770587
commit aad7bb817e
6 changed files with 15 additions and 1 deletions

View file

@ -74,6 +74,8 @@ class Renderer {
virtual std::string getUbershader() { return ""; }
virtual void setUbershader(const std::string& shader) {}
virtual void setUbershaderSetting(bool value) {}
// Functions for initializing the graphics context for the Qt frontend, where we don't have the convenience of SDL_Window
#ifdef PANDA3DS_FRONTEND_QT
virtual void initGraphicsContext(GL::Context* context) { Helpers::panic("Tried to initialize incompatible renderer with GL context"); }