27 class STextureFaceResult;
38 virtual void Update()
override;
46 virtual void Reset()
override;
62 void BuildFirstPatches();
63 void GenerateTexture();
76 virtual void SetUpMaterials()
override;
81 std::unique_ptr<Color[]> m_jobColorBuffers[
NUM_PATCHES];
86 bool m_hasGpuJobRequest;
#define NUM_PATCHES
Definition: GasGiant.h:31
Definition: BaseSphere.h:21
Definition: GasGiantJobs.h:194
Definition: GasGiantJobs.h:83
Definition: GasGiant.h:33
static void CreateRenderTarget(const Uint16 width, const Uint16 height)
Definition: GasGiant.cpp:773
virtual ~GasGiant()
Definition: GasGiant.cpp:323
virtual double GetHeight(const vector3d &p) const override final
Definition: GasGiant.h:41
static void Init()
Definition: GasGiant.cpp:744
static Graphics::RenderTarget * GetRenderTarget()
Definition: GasGiant.cpp:803
virtual void Reset() override
Definition: GasGiant.cpp:330
static void UpdateAllGasGiants()
Definition: GasGiant.cpp:276
static void SetRenderTargetCubemap(const Uint32, Graphics::Texture *, const bool unBind=true)
Definition: GasGiant.cpp:797
static bool OnAddGPUGenResult(const SystemPath &path, GasGiantJobs::SGPUGenResult *res)
Definition: GasGiant.cpp:371
static bool OnAddTextureFaceResult(const SystemPath &path, GasGiantJobs::STextureFaceResult *res)
Definition: GasGiant.cpp:353
static void BeginRenderTarget()
virtual double GetMaxFeatureHeight() const override
Definition: GasGiant.h:44
virtual void Update() override
Definition: GasGiant.cpp:592
virtual void Render(Graphics::Renderer *renderer, const matrix4x4d &modelView, vector3d campos, const float radius, const std::vector< Camera::Shadow > &shadows) override
Definition: GasGiant.cpp:609
static void OnChangeDetailLevel()
Definition: GasGiant.cpp:285
static void EndRenderTarget()
static void Uninit()
Definition: GasGiant.cpp:767
Definition: GasGiant.cpp:86
Definition: GasGiant.cpp:194
Definition: RenderTarget.h:38
Definition: Renderer.h:45
Definition: Texture.h:103
Definition: JobQueue.h:39
Definition: RefCounted.h:36
Definition: SystemBody.h:137
Definition: SystemPath.h:13
Definition: Background.h:14