summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Device.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-26 19:33:40 +0800
committerchai <chaifix@163.com>2021-10-26 19:33:40 +0800
commit051abd04e4527095ef15412939450fbe504daebe (patch)
tree30a966d104ee866bc135cce58b4a5fa561c8c4e7 /Runtime/Graphics/Device.h
parentb1228baf73f6dc3336e24afbf36087e15730732a (diff)
+texture & imagedata
Diffstat (limited to 'Runtime/Graphics/Device.h')
-rw-r--r--Runtime/Graphics/Device.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Runtime/Graphics/Device.h b/Runtime/Graphics/Device.h
index e445efa..c7a059e 100644
--- a/Runtime/Graphics/Device.h
+++ b/Runtime/Graphics/Device.h
@@ -12,8 +12,8 @@
struct DeviceSetting
{
- TextureFilter texFilter;
- TextureWrap texWrap;
+ ETextureFilterMode texFilter;
+ ETextureWrapMode texWrap;
};
class Device : public NonCopyable
@@ -46,8 +46,8 @@ public:
GET_SET(Color, ClearColor, m_ClearColor);
- GET_SET(TextureFilter, TextureFilter, m_TexFilter);
- GET_SET(TextureWrap, TextureWrap, m_TexWrap);
+ GET_SET(ETextureFilterMode, TextureFilter, m_TexFilter);
+ GET_SET(ETextureWrapMode, TextureWrap, m_TexWrap);
inline bool IsInsideFrame();
@@ -55,8 +55,8 @@ private:
uint m_EnableFlag;
// Global texture setting
- TextureFilter m_TexFilter;
- TextureWrap m_TexWrap;
+ ETextureFilterMode m_TexFilter;
+ ETextureWrapMode m_TexWrap;
Color m_ClearColor;