WinRT: more work on moving rendering code from SDL_winrtrenderer.* to SDL_render_d3d11*
This commit is contained in:
parent
4b6b1755fe
commit
9df73a8ba1
5 changed files with 300 additions and 219 deletions
|
@ -40,6 +40,14 @@ typedef struct
|
|||
D3D_FEATURE_LEVEL featureLevel;
|
||||
unsigned int vertexCount;
|
||||
bool loadingComplete;
|
||||
|
||||
// Cached renderer properties.
|
||||
DirectX::XMFLOAT2 windowSizeInDIPs;
|
||||
DirectX::XMFLOAT2 renderTargetSize;
|
||||
Windows::Graphics::Display::DisplayOrientations orientation;
|
||||
|
||||
// Transform used for display orientation.
|
||||
DirectX::XMFLOAT4X4 orientationTransform3D;
|
||||
} D3D11_RenderData;
|
||||
|
||||
typedef struct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue