57 lines
1.6 KiB
C++
57 lines
1.6 KiB
C++
#pragma once
|
|
|
|
/***********************************************************************************/
|
|
/** \file Renderpipe.h
|
|
** \brief Header File zur Klasse Renderpipe
|
|
*************************************************************************************
|
|
** Autor: Christian Roesch
|
|
*************************************************************************************
|
|
** _tut nichts_
|
|
**
|
|
*//*********************************************************************************/
|
|
|
|
#ifndef _Renderpipe_H
|
|
#define _Renderpipe_H
|
|
|
|
// includes
|
|
#include <d3dx9.h>
|
|
|
|
#include <cassert>
|
|
|
|
// Klassen-Deklaration
|
|
extern IDirect3DDevice9* g_d3d_device;
|
|
|
|
/***********************************************************************************/
|
|
/** \brief Renderpipe _tut nichts_
|
|
*************************************************************************************
|
|
** Genau genommen _tut dies nichts_
|
|
**
|
|
*//*********************************************************************************/
|
|
|
|
class Renderpipe
|
|
{
|
|
public:
|
|
static void PrepareRenderTargets(UINT nScreenX, UINT nScreenY, UINT nShadowXY,
|
|
D3DMULTISAMPLE_TYPE multiSampleType);
|
|
|
|
static void PrepareDefaultRenderStates();
|
|
static void PrepareShadowRenderStates();
|
|
static void PreparePreRenderStates();
|
|
static void PrepareFullScreenQuadRenderStates();
|
|
|
|
static void PrepareWithoutPostProcessing();
|
|
|
|
static void SimpleRenderPass();
|
|
static void RenderPassPostProcessing();
|
|
|
|
};
|
|
|
|
#endif//_Renderpipe_H
|
|
|
|
class Renderpipe;
|
|
|
|
|
|
/************************************************************************************
|
|
** Ende der Datei: Renderpipe.h
|
|
************************************************************************************/
|