summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Device.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-27 23:37:24 +0800
committerchai <chaifix@163.com>2021-10-27 23:37:24 +0800
commit305ca0a09d4e750186b5190432de47f3493e806a (patch)
treed82f9ef73191abc2acbcbfdca4b184a28e6c381b /Runtime/Graphics/Device.cpp
parent51ced5a191078ce4ef08d57e343e91db007f556f (diff)
*GfxDevice
Diffstat (limited to 'Runtime/Graphics/Device.cpp')
-rw-r--r--Runtime/Graphics/Device.cpp83
1 files changed, 0 insertions, 83 deletions
diff --git a/Runtime/Graphics/Device.cpp b/Runtime/Graphics/Device.cpp
deleted file mode 100644
index 9ba2e23..0000000
--- a/Runtime/Graphics/Device.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-#include "Device.h"
-
-bool deviceInited = false;
-Device g_Device;
-
-Device::Device()
-{
- //Assert(deviceInited);
- deviceInited = true;
-}
-
-Device::~Device()
-{
-
-}
-
-void Device::Initialize(DeviceSetting& setting)
-{
- //GPU::BufferPool::Instance()->Initialize();
-}
-
-void Device::Enable(DeviceEnable enabled)
-{
-
-}
-
-void Device::Disable(DeviceEnable enabled)
-{
-
-}
-
-void Device::IsEnable(uint flag)
-{
-
-}
-
-void Device::SetDepthTest(DepthTest testing)
-{
-
-}
-
-void Device::SetCullFace(CullFace face)
-{
-
-}
-
-void Device::SetStencilMask(byte stencilMask)
-{
-
-}
-
-void Device::SetStencilOp(StencilOp op)
-{
-
-}
-
-void Device::SetAntiAliasing(int level /*= 0*/)
-{
-
-}
-
-void Device::Clear(int clearFlag)
-{
-
-}
-
-void Device::BeginFrame()
-{
- m_IsInsideFrame = true;
-
-}
-
-void Device::EndFrame()
-{
- //GPU::BufferPool::Instance()->OnEndFrame();
-
- m_IsInsideFrame = false;
-}
-
-void Device::PresentFrame()
-{
-// swap buffers
-} \ No newline at end of file