summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp')
-rw-r--r--src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp b/src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp
index e63dd76..998de32 100644
--- a/src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp
+++ b/src/runtimerender/Qt3DSRenderUIPSharedTranslation.cpp
@@ -113,6 +113,12 @@ namespace render {
#define WCHAR_T_Front L"Front"
#define WCHAR_T_All L"All"
#define WCHAR_T_None L"None"
+#define WCHAR_T_Nearest L"Nearest"
+#define WCHAR_T_Linear L"Linear"
+#define WCHAR_T_NearestMipmapNearest L"NearestMipmapNearest"
+#define WCHAR_T_LinearMipmapNearest L"LinearMipmapNearest"
+#define WCHAR_T_NearestMipmapLinear L"NearestMipmapLinear"
+#define WCHAR_T_LinearMipmapLinear L"LinearMipmapLinear"
#define CHAR_T_Directional "Directional"
#define CHAR_T_Point "Point"
@@ -195,6 +201,12 @@ namespace render {
#define CHAR_T_Front "Front"
#define CHAR_T_All "All"
#define CHAR_T_None "None"
+#define CHAR_T_Nearest "Nearest"
+#define CHAR_T_Linear "Linear"
+#define CHAR_T_NearestMipmapNearest "NearestMipmapNearest"
+#define CHAR_T_LinearMipmapNearest "LinearMipmapNearest"
+#define CHAR_T_NearestMipmapLinear "NearestMipmapLinear"
+#define CHAR_T_LinearMipmapLinear "LinearMipmapLinear"
#define DEFINE_NAME_MAP_ENTRY(enumval, name) \
{ \
@@ -246,6 +258,22 @@ namespace render {
{ (QT3DSU32)-1, NULL },
};
+ SEnumNameMap g_RenderTextureMinifyingOpMap[] = {
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMinifyingOp::Nearest, Nearest),
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMinifyingOp::Linear, Linear),
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMinifyingOp::NearestMipmapNearest, NearestMipmapNearest),
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMinifyingOp::LinearMipmapNearest, LinearMipmapNearest),
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMinifyingOp::NearestMipmapLinear, NearestMipmapLinear),
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMinifyingOp::LinearMipmapLinear, LinearMipmapLinear),
+ { (QT3DSU32)-1, NULL },
+ };
+
+ SEnumNameMap g_RenderTextureMagnifyingOpMap[] = {
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMagnifyingOp::Nearest, Nearest),
+ DEFINE_NAME_MAP_ENTRY(NVRenderTextureMagnifyingOp::Linear, Linear),
+ { (QT3DSU32)-1, NULL },
+ };
+
SEnumNameMap g_TextHorizontalAlignmentMap[] = {
DEFINE_NAME_MAP_ENTRY(TextHorizontalAlignment::Left, Left),
DEFINE_NAME_MAP_ENTRY(TextHorizontalAlignment::Center, Center),
@@ -414,6 +442,16 @@ namespace render {
return g_RenderTextureCoordOpMap;
}
+ SEnumNameMap *SEnumParseMap<NVRenderTextureMinifyingOp::Enum>::GetMap()
+ {
+ return g_RenderTextureMinifyingOpMap;
+ }
+
+ SEnumNameMap *SEnumParseMap<NVRenderTextureMagnifyingOp::Enum>::GetMap()
+ {
+ return g_RenderTextureMagnifyingOpMap;
+ }
+
SEnumNameMap *SEnumParseMap<TextHorizontalAlignment::Enum>::GetMap()
{
return g_TextHorizontalAlignmentMap;