RenderScene.xsd 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="uri:ea.com:eala:asset" xmlns:at="uri:ea.com:eala:asset:type" xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified" xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
  3. <!-- Render bins are collections of meshes that can be drawn during the same stage of the rendering flow -->
  4. <xs:simpleType name="RenderBinEnum"
  5. xas:useEnumPrefix="false"
  6. xas:enumItemPrefix="RenderBin_"
  7. xas:targetNamespace="Sage::Render">
  8. <xs:restriction base="xs:string">
  9. <xs:enumeration value="NONE" />
  10. <xs:enumeration value="Solid" />
  11. <xs:enumeration value="Transparent" />
  12. <xs:enumeration value="TransparentOutlineHoverAttack" />
  13. <xs:enumeration value="TransparentOutlineHoverSelect" />
  14. <xs:enumeration value="TransparentOutlineSelected" />
  15. <xs:enumeration value="Structure" />
  16. <xs:enumeration value="StructureOutlineHoverAttack" />
  17. <xs:enumeration value="StructureOutlineHoverSelect" />
  18. <xs:enumeration value="StructureOutlineSelected" />
  19. <xs:enumeration value="UnitPlayer0" />
  20. <xs:enumeration value="UnitPlayer1" />
  21. <xs:enumeration value="UnitPlayer2" />
  22. <xs:enumeration value="UnitPlayer3" />
  23. <xs:enumeration value="UnitPlayer4" />
  24. <xs:enumeration value="UnitPlayer5" />
  25. <xs:enumeration value="UnitPlayer6" />
  26. <xs:enumeration value="UnitPlayer7" />
  27. <xs:enumeration value="UnitPlayer8" />
  28. <xs:enumeration value="UnitPlayer9" />
  29. <xs:enumeration value="UnitPlayer10" />
  30. <xs:enumeration value="UnitPlayer11" />
  31. <xs:enumeration value="UnitPlayer12" />
  32. <xs:enumeration value="UnitPlayer13" />
  33. <xs:enumeration value="UnitPlayer14" />
  34. <xs:enumeration value="UnitPlayer15" />
  35. <xs:enumeration value="UnitPlayer16" />
  36. <xs:enumeration value="UnitPlayer17" />
  37. <xs:enumeration value="UnitPlayer18" />
  38. <xs:enumeration value="UnitPlayer19" />
  39. <xs:enumeration value="UnitPlayer_END" />
  40. <xs:enumeration value="UnitOutlineHoverAttack" />
  41. <xs:enumeration value="UnitOutlineHoverSelect" />
  42. <xs:enumeration value="UnitOutlineSelected" />
  43. <xs:enumeration value="Bridge" />
  44. <xs:enumeration value="TerrainLikeGroundObject" />
  45. <xs:enumeration value="PartiallyTransparentWall" />
  46. <xs:enumeration value="StaticSort1" />
  47. <xs:enumeration value="StaticSort2" />
  48. <xs:enumeration value="StaticSort3" />
  49. <xs:enumeration value="StaticSort4" />
  50. <xs:enumeration value="StaticSort5" />
  51. <xs:enumeration value="StaticSort_END" />
  52. <xs:enumeration value="Distorter" />
  53. <xs:enumeration value="Underwater" />
  54. <xs:enumeration value="OceanDisplacement" />
  55. <xs:enumeration value="TerrainUIRender" />
  56. <xs:enumeration value="LightSource" />
  57. </xs:restriction>
  58. </xs:simpleType>
  59. <!-- A render pass is a run over all objects in a scene to check their visibility and render them -->
  60. <xs:simpleType name="RenderPassEnum"
  61. xas:useEnumPrefix="false"
  62. xas:enumItemPrefix="RenderPass_"
  63. xas:targetNamespace="Sage::Render">
  64. <xs:restriction base="xs:string">
  65. <xs:enumeration value="ShadowMap" />
  66. <xs:enumeration value="DepthMap" />
  67. <xs:enumeration value="Reflection" />
  68. <xs:enumeration value="Frame" />
  69. </xs:restriction>
  70. </xs:simpleType>
  71. <!-- List of cameras that the game exposes -->
  72. <xs:simpleType name="RenderCameraEnum"
  73. xas:useEnumPrefix="false"
  74. xas:enumItemPrefix="RenderCamera_"
  75. xas:targetNamespace="Sage::Render">
  76. <xs:restriction base="xs:string">
  77. <xs:enumeration value="Viewer" />
  78. <xs:enumeration value="ShadowMap" />
  79. <xs:enumeration value="Reflection" />
  80. <xs:enumeration value="OceanDisplacement" />
  81. </xs:restriction>
  82. </xs:simpleType>
  83. </xs:schema>