Home
last modified time | relevance | path

Searched refs:additionalState (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/material/
DRenderState.java975 public RenderState copyMergedTo(RenderState additionalState, RenderState state) { in copyMergedTo() argument
976 if (additionalState == null) { in copyMergedTo()
980 if (additionalState.applyPointSprite) { in copyMergedTo()
981 state.pointSprite = additionalState.pointSprite; in copyMergedTo()
985 if (additionalState.applyWireFrame) { in copyMergedTo()
986 state.wireframe = additionalState.wireframe; in copyMergedTo()
991 if (additionalState.applyCullMode) { in copyMergedTo()
992 state.cullMode = additionalState.cullMode; in copyMergedTo()
996 if (additionalState.applyDepthWrite) { in copyMergedTo()
997 state.depthWrite = additionalState.depthWrite; in copyMergedTo()
[all …]
DMaterial.java94 private RenderState additionalState = null; field in Material
221 if (additionalState != null) { in clone()
222 mat.additionalState = additionalState.clone(); in clone()
317 if (additionalState == null) { in getAdditionalRenderState()
318 additionalState = RenderState.ADDITIONAL.clone(); in getAdditionalRenderState()
320 return additionalState; in getAdditionalRenderState()
991 … r.applyRenderState(techDef.getRenderState().copyMergedTo(additionalState, mergedRenderState)); in render()
993 … r.applyRenderState(RenderState.DEFAULT.copyMergedTo(additionalState, mergedRenderState)); in render()
1046 oc.write(additionalState, "render_state", null); in write()
1054 additionalState = (RenderState) ic.readSavable("render_state", null); in read()
[all …]