summaryrefslogtreecommitdiffstats
path: root/RenderScript/src/EnumMappings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RenderScript/src/EnumMappings.cpp')
-rw-r--r--RenderScript/src/EnumMappings.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/RenderScript/src/EnumMappings.cpp b/RenderScript/src/EnumMappings.cpp
index 84ce7d9..53d1c13 100644
--- a/RenderScript/src/EnumMappings.cpp
+++ b/RenderScript/src/EnumMappings.cpp
@@ -224,4 +224,11 @@ namespace Diligent
DEFINE_ENUM_ELEMENT_MAPPING( (*this), SHADER_TYPE_DOMAIN );
DEFINE_ENUM_ELEMENT_MAPPING( (*this), SHADER_TYPE_COMPUTE );
}
+
+ StateTransitionModeEnumMapping::StateTransitionModeEnumMapping()
+ {
+ DEFINE_ENUM_ELEMENT_MAPPING( (*this), RESOURCE_STATE_TRANSITION_MODE_NONE );
+ DEFINE_ENUM_ELEMENT_MAPPING( (*this), RESOURCE_STATE_TRANSITION_MODE_TRANSITION );
+ DEFINE_ENUM_ELEMENT_MAPPING( (*this), RESOURCE_STATE_TRANSITION_MODE_VERIFY );
+ }
}