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