Home
last modified time | relevance | path

Searched refs:modelBatch (Results 1 – 23 of 23) sorted by relevance

/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DModelLoaderTest.java34 ModelBatch modelBatch; field in ModelLoaderTest
47 modelBatch = new ModelBatch(); in create()
76 modelBatch.begin(camera); in render()
77 modelBatch.render(instance); in render()
78 modelBatch.end(); in render()
89 modelBatch.dispose(); in dispose()
DBaseG3dTest.java40 public ModelBatch modelBatch; field in BaseG3dTest
51 modelBatch = new ModelBatch(); in create()
97 modelBatch.begin(cam); in render()
98 if (showAxes) modelBatch.render(axesInstance); in render()
99 if (instances != null) render(modelBatch, instances); in render()
100 modelBatch.end(); in render()
120 modelBatch.dispose(); in dispose()
DBasic3DSceneTest.java38 public ModelBatch modelBatch; field in Basic3DSceneTest
51 modelBatch = new ModelBatch(); in create()
109 modelBatch.begin(cam); in render()
111 modelBatch.render(instance, lights); in render()
112 if (space != null) modelBatch.render(space); in render()
113 modelBatch.end(); in render()
118 modelBatch.dispose(); in dispose()
DBasic3DTest.java40 public ModelBatch modelBatch; field in Basic3DTest
47 modelBatch = new ModelBatch(new DefaultShaderProvider()); in create()
75 modelBatch.begin(cam); in render()
76 modelBatch.render(instance, environment); in render()
77 modelBatch.end(); in render()
82 modelBatch.dispose(); in dispose()
DFogTest.java40 public ModelBatch modelBatch; field in FogTest
47 modelBatch = new ModelBatch(); in create()
80 modelBatch.begin(cam); in render()
81 modelBatch.render(instance, environment); in render()
82 modelBatch.end(); in render()
100 modelBatch.dispose(); in dispose()
DMaterialTest.java45 ModelBatch modelBatch; field in MaterialTest
81 modelBatch = new ModelBatch(); in create()
102 modelBatch.begin(camera); in render()
103 modelBatch.render(background); in render()
104 modelBatch.render(modelInstance); in render()
105 modelBatch.end(); in render()
127 modelBatch.dispose(); in dispose()
DShadowMappingTest.java42 ModelBatch modelBatch; field in ShadowMappingTest
51 modelBatch = new ModelBatch(); in create()
95 modelBatch.begin(cam); in render()
96 modelBatch.render(instance, environment); in render()
97 modelBatch.end(); in render()
102 modelBatch.dispose(); in dispose()
DTextureRegion3DTest.java32 ModelBatch modelBatch; field in TextureRegion3DTest
49 modelBatch = new ModelBatch(new DefaultShaderProvider()); in create()
84 modelBatch.begin(cam); in render()
85 modelBatch.render(instance, environment); in render()
86 modelBatch.end(); in render()
91 modelBatch.dispose(); in dispose()
DShaderTest.java189 public ModelBatch modelBatch; field in ShaderTest
196 modelBatch = new ModelBatch(new DefaultShaderProvider() { in create()
258 modelBatch.begin(cam); in render()
259 modelBatch.render(instances); in render()
260 modelBatch.end(); in render()
265 modelBatch.dispose(); in dispose()
DFrameBufferCubemapTest.java89 modelBatch.begin(camFb); in renderScene()
91 modelBatch.render(instance, lights); in renderScene()
92 if (space != null) modelBatch.render(space); in renderScene()
93 modelBatch.end(); in renderScene()
DBenchmark3DTest.java143 modelBatch.dispose(); in randomizeLights()
144 modelBatch = new ModelBatch(new DefaultShaderProvider(config)); in randomizeLights()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DViewportTest3.java53 public ModelBatch modelBatch; field in ViewportTest3
57 modelBatch = new ModelBatch(); in create()
66 modelBatch = new ModelBatch(); in create()
105 modelBatch.begin(camera); in render()
106 modelBatch.render(boxInstance, environment); in render()
107 modelBatch.end(); in render()
DFramebufferToTextureTest.java43 ModelBatch modelBatch; field in FramebufferToTextureTest
58 modelBatch = new ModelBatch(); in create()
77 modelBatch.begin(cam); in render()
78 modelBatch.render(modelInstance); in render()
79 modelBatch.end(); in render()
DProjectTest.java46 ModelBatch modelBatch; field in ProjectTest
65 modelBatch = new ModelBatch(); in create()
76 modelBatch.begin(cam); in render()
87 modelBatch.render(instances[i]); in render()
89 modelBatch.end(); in render()
DCullTest.java45 ModelBatch modelBatch; field in CullTest
67 modelBatch = new ModelBatch(); in create()
84 modelBatch.begin(cam); in render()
95 modelBatch.render(instances[i]); in render()
97 modelBatch.end(); in render()
DEdgeDetectionTest.java43 ModelBatch modelBatch; field in EdgeDetectionTest
72 modelBatch = new ModelBatch(); in create()
116 modelBatch.begin(cam); in render()
117 modelBatch.render(sceneInstance); in render()
118 modelBatch.end(); in render()
DKTXTest.java54 private ModelBatch modelBatch; field in KTXTest
96 modelBatch = new ModelBatch(new DefaultShaderProvider(new Config(cubemapVS, cubemapFS))); in create()
172 modelBatch.begin(perspectiveCamera); in render()
173 modelBatch.render(instance, environment); in render()
174 modelBatch.end(); in render()
196 modelBatch.dispose(); in dispose()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/
DVoxelTest.java38 ModelBatch modelBatch; field in VoxelTest
48 modelBatch = new ModelBatch(); in create()
76 modelBatch.begin(camera); in render()
77 modelBatch.render(voxelWorld, lights); in render()
78 modelBatch.end(); in render()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DBaseBulletTest.java73 public ModelBatch modelBatch; field in BaseBulletTest
95 modelBatch = new ModelBatch(); in create()
149 modelBatch.dispose(); in dispose()
150 modelBatch = null; in dispose()
201 modelBatch.begin(camera); in renderWorld()
202 world.render(modelBatch, environment); in renderWorld()
203 modelBatch.end(); in renderWorld()
DBasicBulletTest.java54 ModelBatch modelBatch; field in BasicBulletTest
93 modelBatch = new ModelBatch(); in create()
188 modelBatch.begin(camera); in render()
189 modelBatch.render(instances, lights); in render()
190 modelBatch.end(); in render()
218 modelBatch.dispose(); in dispose()
DFrustumCullingTest.java233 modelBatch.begin(camera); in renderWorld()
235 world.render(modelBatch, environment, visibleEntities); in renderWorld()
236 world.render(modelBatch, environment, frustumEntity); in renderWorld()
238 world.render(modelBatch, environment); in renderWorld()
239 modelBatch.end(); in renderWorld()
DOcclusionCullingTest.java407 modelBatch.begin(camera); in renderWorld()
408 world.render(modelBatch, environment, visibleEntities); in renderWorld()
409 if ((state & USE_FRUSTUM_CAM) != USE_FRUSTUM_CAM) modelBatch.render(frustumInstance); in renderWorld()
410 modelBatch.end(); in renderWorld()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DFlameMain.java636 private ModelBatch modelBatch; field in FlameMain.AppRenderer
644 modelBatch = new ModelBatch(); in create()
785 modelBatch.begin(worldCamera); in renderWorld()
786 if(isDrawXYZ) modelBatch.render(xyzInstance); in renderWorld()
787 if(isDrawXZPlane) modelBatch.render(xzPlaneInstance); in renderWorld()
788 if(isDrawXYPlane) modelBatch.render(xyPlaneInstance); in renderWorld()
794 modelBatch.render(particleSystem, environment); in renderWorld()
795 modelBatch.end(); in renderWorld()