Graphics.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name" : "Graphics",
  3. "sources" : ["Source/Atomic/Graphics", "Source/Atomic/Graphics/Text3D"],
  4. "includes" : ["<Atomic/Scene/Scene.h>", "<Atomic/Graphics/OcclusionBuffer.h>", "<Atomic/Scene/ValueAnimation.h>",
  5. "<Atomic/Container/ArrayPtr.h>", "<Atomic/Graphics/Animation.h>",
  6. "<Atomic/Graphics/Material.h>", "<Atomic/Resource/Image.h>", "<Atomic/Graphics/VertexBuffer.h>"],
  7. "classes" : ["Graphics", "Texture", "Texture2D", "Material", "Drawable",
  8. "Viewport", "Renderer", "Octree", "Zone", "Camera", "Light", "RenderPath",
  9. "DebugRenderer",
  10. "RenderSurface", "Shader", "ShaderPrecache", "ShaderVariation",
  11. "Pass", "Technique",
  12. "Texture3D", "TextureCube", "View",
  13. "VertexBuffer", "Model",
  14. "StaticModel",
  15. "Animation", "AnimatedModel", "AnimationController", "AnimationState", "Billboard", "BillboardSet", "CustomGeometry",
  16. "DecalSet", "ParticleEffect", "ParticleEmitter", "RibbonTrail",
  17. "Skybox", "StaticModelGroup", "Terrain", "TerrainPatch",
  18. "Text3D", "Text3DFont"],
  19. "overloads" : {
  20. "Viewport" : {
  21. "Viewport" : ["Context", "Scene", "Camera", "RenderPath"],
  22. "SetRenderPath" : ["XMLFile"]
  23. },
  24. "Camera" : {
  25. "SetOrthoSize" : ["float"]
  26. },
  27. "Graphics" : {
  28. "SetWindowPosition" : ["int", "int"],
  29. "Draw" : ["PrimitiveType", "unsigned", "unsigned"]
  30. },
  31. "StaticModel" : {
  32. "SetMaterial" : ["Material"]
  33. },
  34. "AnimationState" : {
  35. "AnimationState" : ["AnimatedModel", "Animation"]
  36. },
  37. "CustomGeometry" : {
  38. "SetMaterial" : ["Material"]
  39. }
  40. },
  41. "typescript_decl" : {
  42. "Material" : [
  43. "static getTextureUnitName(unit:TextureUnit):string;",
  44. "getShaderParameters():ShaderParameter[];"
  45. ],
  46. "Light" : [
  47. "getShadowCascade():Number[];",
  48. "setShadowCascade(split1:number, split2:number, split3:number, split4:number, fadeStart:number, biasAutoAdjust?:number);",
  49. "setShadowCascadeParameter(index:number, value:number);"
  50. ],
  51. "StaticModel" : [
  52. "setMaterialIndex(index:number, material:Material);"
  53. ],
  54. "CustomGeometry" : [
  55. "setMaterialIndex(index:number, material:Material);"
  56. ],
  57. "RenderPath" : [
  58. "setShaderParameter(name:string, value:Object);"
  59. ]
  60. },
  61. "haxe_decl" : {
  62. "Light" : [
  63. "function getShadowCascade():Array<Float>;",
  64. "function setShadowCascade(split1:Float, split2:Float, split3:Float, split4:Float, fadeStart:Float, ?biasAutoAdjust:Float):Void;",
  65. "function setShadowCascadeParameter(index:Int, value:Float):Void;"
  66. ],
  67. "StaticModel" : [
  68. "function setMaterialIndex(index:UInt, material:Material):Void;"
  69. ],
  70. "CustomGeometry" : [
  71. "function setMaterialIndex(index:UInt, material:Material):Void;"
  72. ]
  73. }
  74. }