summaryrefslogtreecommitdiff
path: root/Runner/Graphics/Device.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-17 16:01:30 +0800
committerchai <chaifix@163.com>2021-10-17 16:01:30 +0800
commit6e73ca6ada8a41692809dae5db89c8db0675ce1e (patch)
tree3ca6f06b29b3e2c183750ddcff8d7a09d0785e6b /Runner/Graphics/Device.cpp
parente13f699ee5f575198552d94ada1167305c82bb2f (diff)
-Runner
Diffstat (limited to 'Runner/Graphics/Device.cpp')
-rw-r--r--Runner/Graphics/Device.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/Runner/Graphics/Device.cpp b/Runner/Graphics/Device.cpp
deleted file mode 100644
index c28d007..0000000
--- a/Runner/Graphics/Device.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "Device.h"
-
-bool deviceInited = false;
-Device g_Device;
-
-Device::Device()
-{
- Assert(deviceInited);
- deviceInited = true;
-}
-
-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()
-{
- Get(GPU::BufferPool)->OnEndFrame();
-
- m_IsInsideFrame = false;
-}
-
-void Device::PresentFrame()
-{
-// swap buffers
-} \ No newline at end of file