d3d is made of structs, not classes

This commit is contained in:
Adam Jensen 2022-06-29 14:52:31 +01:00
parent 0c818fea75
commit 9b4a5c31ed
7 changed files with 10 additions and 10 deletions

View File

@ -3,9 +3,9 @@
#include "IPCDeviceManager.h" #include "IPCDeviceManager.h"
#include "shaders/PCDX11ShaderManager.h" #include "shaders/PCDX11ShaderManager.h"
class ID3D11Device; struct ID3D11Device;
class IDXGIFactory; struct IDXGIFactory;
class ID3D11DeviceContext; struct ID3D11DeviceContext;
namespace cdc { namespace cdc {

View File

@ -4,7 +4,7 @@
#include "PCDX11InternalResource.h" #include "PCDX11InternalResource.h"
struct DXGI_MODE_DESC; struct DXGI_MODE_DESC;
class ID3D11Texture2D; struct ID3D11Texture2D;
class IDXGISwapChain; class IDXGISwapChain;
namespace cdc { namespace cdc {

View File

@ -2,7 +2,7 @@
#include <cstdint> #include <cstdint>
#include <cstring> #include <cstring>
class ID3D11Buffer; struct ID3D11Buffer;
struct float4x4; struct float4x4;
namespace cdc { namespace cdc {

View File

@ -2,7 +2,7 @@
#include "CommonVertexBuffer.h" #include "CommonVertexBuffer.h"
#include <cstdint> #include <cstdint>
class ID3D11Buffer; struct ID3D11Buffer;
namespace cdc { namespace cdc {

View File

@ -3,7 +3,7 @@
#include "../PCDX11InternalResource.h" #include "../PCDX11InternalResource.h"
#include "PCDX11Shader.h" #include "PCDX11Shader.h"
class ID3D11PixelShader; struct ID3D11PixelShader;
namespace cdc { namespace cdc {

View File

@ -3,7 +3,7 @@
#include "../PCDX11InternalResource.h" #include "../PCDX11InternalResource.h"
#include "PCDX11Shader.h" #include "PCDX11Shader.h"
class ID3D11VertexShader; struct ID3D11VertexShader;
namespace cdc { namespace cdc {

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
class ID3D11Device; struct ID3D11Device;
class ID3D11DeviceContext; struct ID3D11DeviceContext;
int spinnyCube( int spinnyCube(
HWND hwnd, HWND hwnd,