From 7ecc8790a49bb6e6fc0f789e2e62a40af56aa58c Mon Sep 17 00:00:00 2001 From: "sha..RD" Date: Thu, 23 May 2013 01:58:41 +0000 Subject: [PATCH] * Added overview / explanation on what Material.render() does git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10631 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/core/com/jme3/material/Material.java | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/engine/src/core/com/jme3/material/Material.java b/engine/src/core/com/jme3/material/Material.java index cea605934..b9830d9f4 100644 --- a/engine/src/core/com/jme3/material/Material.java +++ b/engine/src/core/com/jme3/material/Material.java @@ -42,12 +42,14 @@ import com.jme3.material.TechniqueDef.LightMode; import com.jme3.material.TechniqueDef.ShadowMode; import com.jme3.math.*; import com.jme3.renderer.Caps; +import com.jme3.renderer.GL1Renderer; import com.jme3.renderer.RenderManager; import com.jme3.renderer.Renderer; import com.jme3.renderer.queue.RenderQueue.Bucket; import com.jme3.scene.Geometry; import com.jme3.shader.Shader; import com.jme3.shader.Uniform; +import com.jme3.shader.UniformBindingManager; import com.jme3.shader.VarType; import com.jme3.texture.Texture; import com.jme3.util.ListMap; @@ -995,6 +997,56 @@ public class Material implements CloneableSmartAsset, Cloneable, Savable { /** * Called by {@link RenderManager} to render the geometry by * using this material. + *

+ * The material is rendered as follows: + *

* * @param geom The geometry to render * @param rm The render manager requesting the rendering