![]() |
Incremental Engine
1.0.6
A 2D Game Engine to create Idle Games
|
#include <D3DImplementation.h>
Public Member Functions | |
| D3DImplementation (Config config) | |
| virtual | ~D3DImplementation () |
| HRESULT | Init (RenderWindow *renderWindow) |
| void | BeginScene (float red, float green, float blue, float alpha) |
| void | EndScene () |
| ID3D11Device * | GetDevice () |
| ID3D11DeviceContext * | GetDeviceContext () |
| void | GetProjectionMatrix (D3DXMATRIX &projectionMatrix) |
| void | GetWorldMatrix (D3DXMATRIX &worldMatrix) |
| void | SetWorldMatrix (D3DXMATRIX &worldMatrix) |
| void | GetOrthoProjectionMatrix (D3DXMATRIX &orthoMatrix) |
| void | GetVideoCardInfo (char *cardName, int &memory) |
| void | TurnZBufferOn () |
| void | TurnZBufferOff () |
Private Member Functions | |
| HRESULT | SetupAdapterOutput (unsigned int &numerator, unsigned int &denominator) |
| HRESULT | CreateDeviceAndSwapChain (unsigned int numerator, unsigned int denominator) |
| HRESULT | SetupRenderTarget () |
| HRESULT | SetupDepthStencilBufferAndState () |
| HRESULT | CreateDepthStencilState (ID3D11DepthStencilState *&depthStencilState, bool enableZBuffer) |
| HRESULT | SetupDeviceRasterizerState () |
| void | SetupViewport () |
| void | SetupD3DMatrices () |
Private Attributes | |
| RenderWindow * | _renderWindow |
| Config | _config |
| int | _videoCardMemory |
| char | _videoCardDescription [128] |
| IDXGISwapChain * | _swapChain |
| ID3D11Device * | _device |
| ID3D11DeviceContext * | _deviceContext |
| ID3D11RenderTargetView * | _renderTargetView |
| ID3D11Texture2D * | _depthStencilBuffer |
| ID3D11DepthStencilState * | _depthStencilState |
| ID3D11DepthStencilView * | _depthStencilView |
| ID3D11RasterizerState * | _rasterState |
| D3DXMATRIX | _projectionMatrix |
| D3DXMATRIX | _worldMatrix |
| D3DXMATRIX | _orthoProjectionMatrix |
| ID3D11DepthStencilState * | _depthDisabledStencilState |
Definition at line 21 of file D3DImplementation.h.
| IncrementalEngine::D3DImplementation::D3DImplementation | ( | Config | config | ) |
Definition at line 9 of file D3DImplementation.cpp.
|
virtual |
Definition at line 23 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::BeginScene | ( | float | red, |
| float | green, | ||
| float | blue, | ||
| float | alpha | ||
| ) |
Definition at line 98 of file D3DImplementation.cpp.
|
private |
Definition at line 439 of file D3DImplementation.cpp.
|
private |
Definition at line 226 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::EndScene | ( | ) |
Definition at line 106 of file D3DImplementation.cpp.
| ID3D11Device * IncrementalEngine::D3DImplementation::GetDevice | ( | ) |
Definition at line 470 of file D3DImplementation.cpp.
| ID3D11DeviceContext * IncrementalEngine::D3DImplementation::GetDeviceContext | ( | ) |
Definition at line 475 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::GetOrthoProjectionMatrix | ( | D3DXMATRIX & | orthoMatrix | ) |
Definition at line 495 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::GetProjectionMatrix | ( | D3DXMATRIX & | projectionMatrix | ) |
Definition at line 480 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::GetVideoCardInfo | ( | char * | cardName, |
| int & | memory | ||
| ) |
Definition at line 500 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::GetWorldMatrix | ( | D3DXMATRIX & | worldMatrix | ) |
Definition at line 485 of file D3DImplementation.cpp.
| HRESULT IncrementalEngine::D3DImplementation::Init | ( | RenderWindow * | renderWindow | ) |
Definition at line 46 of file D3DImplementation.cpp.
|
private |
Definition at line 120 of file D3DImplementation.cpp.
|
private |
Definition at line 404 of file D3DImplementation.cpp.
|
private |
Definition at line 315 of file D3DImplementation.cpp.
|
private |
Definition at line 363 of file D3DImplementation.cpp.
|
private |
Definition at line 292 of file D3DImplementation.cpp.
|
private |
Definition at line 390 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::SetWorldMatrix | ( | D3DXMATRIX & | worldMatrix | ) |
Definition at line 490 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::TurnZBufferOff | ( | ) |
Definition at line 511 of file D3DImplementation.cpp.
| void IncrementalEngine::D3DImplementation::TurnZBufferOn | ( | ) |
Definition at line 506 of file D3DImplementation.cpp.
|
private |
Definition at line 44 of file D3DImplementation.h.
|
private |
Definition at line 58 of file D3DImplementation.h.
|
private |
Definition at line 51 of file D3DImplementation.h.
|
private |
Definition at line 52 of file D3DImplementation.h.
|
private |
Definition at line 53 of file D3DImplementation.h.
|
private |
Definition at line 48 of file D3DImplementation.h.
|
private |
Definition at line 49 of file D3DImplementation.h.
|
private |
Definition at line 57 of file D3DImplementation.h.
|
private |
Definition at line 55 of file D3DImplementation.h.
|
private |
Definition at line 54 of file D3DImplementation.h.
|
private |
Definition at line 50 of file D3DImplementation.h.
|
private |
Definition at line 43 of file D3DImplementation.h.
|
private |
Definition at line 47 of file D3DImplementation.h.
|
private |
Definition at line 46 of file D3DImplementation.h.
|
private |
Definition at line 45 of file D3DImplementation.h.
|
private |
Definition at line 56 of file D3DImplementation.h.