mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Serialisation for MTL::IndexType
This commit is contained in:
committed by
Baldur Karlsson
parent
bd545cb9b6
commit
6dbb7a3a86
@@ -1125,6 +1125,17 @@ rdcstr DoStringise(const MTL::CullMode &el)
|
||||
END_ENUM_STRINGISE();
|
||||
};
|
||||
|
||||
template <>
|
||||
rdcstr DoStringise(const MTL::IndexType &el)
|
||||
{
|
||||
BEGIN_ENUM_STRINGISE(MTL::IndexType)
|
||||
{
|
||||
MTL_STRINGISE_ENUM(IndexTypeUInt16);
|
||||
MTL_STRINGISE_ENUM(IndexTypeUInt32);
|
||||
}
|
||||
END_ENUM_STRINGISE()
|
||||
}
|
||||
|
||||
template <>
|
||||
rdcstr DoStringise(const MetalResourceType &el)
|
||||
{
|
||||
|
||||
@@ -159,6 +159,7 @@ MTL_DECLARE_REFLECTION_TYPE(ArgumentBuffersTier);
|
||||
MTL_DECLARE_REFLECTION_TYPE(DepthClipMode);
|
||||
MTL_DECLARE_REFLECTION_TYPE(TriangleFillMode);
|
||||
MTL_DECLARE_REFLECTION_TYPE(CullMode);
|
||||
MTL_DECLARE_REFLECTION_TYPE(IndexType);
|
||||
|
||||
template <>
|
||||
inline rdcliteral TypeName<NS::Range>()
|
||||
|
||||
Reference in New Issue
Block a user