Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
// RenderTextureMipmap.h: interface for the CRenderTextureMipmap class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_RENDERTEXTUREMIPMAP_H__C4579775_6CD9_4F2B_A3CC_7E128F86C7D3__INCLUDED_)
|
|
#define AFX_RENDERTEXTUREMIPMAP_H__C4579775_6CD9_4F2B_A3CC_7E128F86C7D3__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "RenderTexture.h"
|
|
#include "List.h"
|
|
|
|
class CRenderTextureMipmap
|
|
{
|
|
List<LPDIRECT3DTEXTURE8> m_pRenderTextureList;
|
|
List<LPDIRECT3DSURFACE8> m_pRenderSurfaceList;
|
|
LPDIRECT3DSURFACE8 m_pRenderZBuffer;
|
|
int m_nSize;
|
|
public:
|
|
LPDIRECT3DSURFACE8 GetSurface();
|
|
void GenerateMipmap(LPDIRECT3DDEVICE8 pd3dDevice);
|
|
LPDIRECT3DTEXTURE8 GetTexture(int nTexture=0);
|
|
LPDIRECT3DSURFACE8 GetZBuffer(){return m_pRenderZBuffer;};
|
|
int GetTextureCount(){return m_pRenderTextureList.num;};
|
|
void Create(int nSizeX,int nSizeY);
|
|
CRenderTextureMipmap();
|
|
virtual ~CRenderTextureMipmap();
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_RENDERTEXTUREMIPMAP_H__C4579775_6CD9_4F2B_A3CC_7E128F86C7D3__INCLUDED_)
|