36 bool Initialize(ID3D11Device*, ID3D11DeviceContext*,
int,
int,
char*,
int,
int);
38 bool Render(ID3D11DeviceContext*);
42 ID3D11ShaderResourceView* GetTexture();
44 void SetRenderLocation(
int,
int);
47 bool InitializeBuffers(ID3D11Device*);
48 void ShutdownBuffers();
49 bool UpdateBuffers(ID3D11DeviceContext*);
50 void RenderBuffers(ID3D11DeviceContext*);
52 bool LoadTextures(ID3D11Device*, ID3D11DeviceContext*,
char*);
53 void ReleaseTextures();
56 ID3D11Buffer* m_vertexBuffer, * m_indexBuffer;
57 int m_vertexCount, m_indexCount, m_screenWidth, m_screenHeight, m_bitmapWidth, m_bitmapHeight, m_renderX, m_renderY, m_prevPosX, m_prevPosY;
59 float m_frameTime, m_cycleTime;
60 int m_currentTexture, m_textureCount;