From 305ca0a09d4e750186b5190432de47f3493e806a Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 27 Oct 2021 23:37:24 +0800 Subject: *GfxDevice --- Runtime/Graphics/Device.cpp | 83 --------------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 Runtime/Graphics/Device.cpp (limited to 'Runtime/Graphics/Device.cpp') 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 -- cgit v1.1-26-g67d0