15 lines
234 B
C++
15 lines
234 B
C++
#pragma once
|
|
#include <d3d9.h>
|
|
|
|
class Material
|
|
{
|
|
public:
|
|
UINT init(IDirect3DDevice9* pD3DDevice, LPCWSTR textureFileName);
|
|
void render(IDirect3DDevice9* pD3DDevice);
|
|
void deInit();
|
|
|
|
private:
|
|
IDirect3DTexture9* _pTexture = {};
|
|
};
|
|
|