Package com.jme3.material.logic
Class MultiPassLightingLogic
java.lang.Object
com.jme3.material.logic.DefaultTechniqueDefLogic
com.jme3.material.logic.MultiPassLightingLogic
- All Implemented Interfaces:
TechniqueDefLogic
-
Field Summary
Fields inherited from class com.jme3.material.logic.DefaultTechniqueDefLogic
techniqueDef -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(RenderManager renderManager, Shader shader, Geometry geometry, LightList lights, int lastTexUnit) Requests that theTechniqueDefLogicrenders the given geometry.Methods inherited from class com.jme3.material.logic.DefaultTechniqueDefLogic
getAmbientColor, makeCurrent, renderMeshFromGeometry
-
Constructor Details
-
MultiPassLightingLogic
-
-
Method Details
-
render
public void render(RenderManager renderManager, Shader shader, Geometry geometry, LightList lights, int lastTexUnit) Description copied from interface:TechniqueDefLogicRequests that theTechniqueDefLogicrenders the given geometry. Fixed material functionality such asRenderState,material parameters, anduniform bindingshave already been applied by the material, however,RenderState,uniforms,textures, can still be overridden.- Specified by:
renderin interfaceTechniqueDefLogic- Overrides:
renderin classDefaultTechniqueDefLogic- Parameters:
renderManager- The render manager to perform the rendering against.shader- The shader that was selected by this logic inTechniqueDefLogic.makeCurrent(com.jme3.asset.AssetManager, com.jme3.renderer.RenderManager, java.util.EnumSet, com.jme3.light.LightList, com.jme3.shader.DefineList).geometry- The geometry to renderlights- Lights which influence the geometry.lastTexUnit- the index of the most recently used texture unit
-