mirror of
https://github.com/rrika/cdcEngineDXHR.git
synced 2024-11-23 13:39:54 +00:00
28 lines
646 B
C++
28 lines
646 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include "PPPass.h"
|
|
#include "cdc/dtp/postprocessing.h"
|
|
|
|
namespace cdc {
|
|
|
|
class CommonRenderTarget;
|
|
struct RenderViewport;
|
|
|
|
}
|
|
|
|
class PPPrePass {
|
|
public:
|
|
uint32_t dword4 = 0;
|
|
PPTexture *textures = nullptr; // 8
|
|
uint32_t numTextures = 0; // C
|
|
PPVariable *variables = nullptr; // 10
|
|
uint32_t numVariables = 0; // 14
|
|
uint8_t byte18 = 0;
|
|
uint8_t byte19 = 0;
|
|
|
|
virtual ~PPPrePass() = default;
|
|
|
|
void init(dtp::PPPrePassBlob *blob, PPTexture *textures, uint32_t numTextures, PPVariable *variables, uint32_t numVariables);
|
|
void createScene(RTs *rts, cdc::RenderViewport *viewport, cdc::CommonRenderTarget *rt);
|
|
};
|