28 lines
777 B
C
28 lines
777 B
C
#pragma once
|
|
|
|
#include <Juliet.h>
|
|
|
|
#include <Core/Math/Matrix.h>
|
|
#include <Graphics/GraphicsConfig.h>
|
|
|
|
typedef struct RenderPass RenderPass;
|
|
typedef struct CommandList CommandList;
|
|
typedef struct Window Window;
|
|
typedef struct GraphicsPipeline GraphicsPipeline;
|
|
typedef struct GraphicsDevice GraphicsDevice;
|
|
|
|
typedef struct SkyboxRenderer SkyboxRenderer;
|
|
struct SkyboxRenderer
|
|
{
|
|
GraphicsDevice* Device;
|
|
GraphicsPipeline* Pipeline;
|
|
};
|
|
|
|
JULIET_API bool8 InitializeSkyboxRenderer(GraphicsDevice* device, Window* window);
|
|
JULIET_API void ShutdownSkyboxRenderer(void);
|
|
JULIET_API void RenderSkybox(CommandList* cmdList, RenderPass* pass, const Matrix* viewProjection);
|
|
|
|
#if ALLOW_SHADER_HOT_RELOAD
|
|
JULIET_API void ReloadSkyboxShaders(void);
|
|
#endif
|