mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
22 lines
584 B
C
22 lines
584 B
C
|
#pragma once
|
||
|
|
||
|
#include "common/dma/dma_chain_read.h"
|
||
|
#include "game/graphics/opengl_renderer/BucketRenderer.h"
|
||
|
#include "game/graphics/pipelines/opengl.h"
|
||
|
#include "game/graphics/opengl_renderer/SkyBlendCommon.h"
|
||
|
|
||
|
class SkyBlendCPU {
|
||
|
public:
|
||
|
SkyBlendCPU();
|
||
|
~SkyBlendCPU();
|
||
|
|
||
|
SkyBlendStats do_sky_blends(DmaFollower& dma,
|
||
|
SharedRenderState* render_state,
|
||
|
ScopedProfilerNode& prof);
|
||
|
|
||
|
private:
|
||
|
GLuint m_textures[2]; // sky, clouds
|
||
|
static constexpr int m_sizes[2] = {32, 64};
|
||
|
std::vector<u8> m_texture_data[2];
|
||
|
};
|