1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

SkyShaders working

This commit is contained in:
clayjohn
2022-04-29 15:34:01 -07:00
parent 516ec892b4
commit 3bb8e6a9fe
17 changed files with 620 additions and 172 deletions

View File

@@ -71,6 +71,7 @@ private:
protected:
static RendererCompositor *(*_create_func)();
bool back_end = false;
static bool low_end;
public:
static RendererCompositor *create();
@@ -97,7 +98,7 @@ public:
virtual uint64_t get_frame_number() const = 0;
virtual double get_frame_delta_time() const = 0;
_FORCE_INLINE_ virtual bool is_low_end() const { return back_end; };
static bool is_low_end() { return low_end; };
virtual bool is_xr_enabled() const;
RendererCompositor();