diff options
author | chai <chaifix@163.com> | 2021-10-24 13:24:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-24 13:24:13 +0800 |
commit | 3239ba18797b1aa098056aa0c2a70e250a27a06c (patch) | |
tree | cb42710213cd188dd5f7c7841693c9ebe1b1915a /Runtime/Graphics/Device.h | |
parent | 7bf672fd0c6211909d94078b448032b1bd0916ef (diff) |
* port shader
Diffstat (limited to 'Runtime/Graphics/Device.h')
-rw-r--r-- | Runtime/Graphics/Device.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Runtime/Graphics/Device.h b/Runtime/Graphics/Device.h index 4e02b72..e445efa 100644 --- a/Runtime/Graphics/Device.h +++ b/Runtime/Graphics/Device.h @@ -18,7 +18,7 @@ struct DeviceSetting class Device : public NonCopyable { -public: +public: Device(); ~Device(); @@ -41,7 +41,8 @@ public: void EndFrame(); void PresentFrame(); - GET(SharedVertexBuffer*, SharedVBO, m_SharedVBO); + //GET(SharedVertexBuffer*, SharedVBO, m_SharedVBO); + SharedVertexBuffer* GetSharedVBO() { return &m_SharedVBO; } GET_SET(Color, ClearColor, m_ClearColor); |