Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMaterialLoader.java73 private int texUnit = 0; field in MaterialLoader
139 textures[texUnit].setImage(loadedTexture.getImage()); in readTextureImage()
140 textures[texUnit].setMinFilter(loadedTexture.getMinFilter()); in readTextureImage()
141 textures[texUnit].setKey(loadedTexture.getKey()); in readTextureImage()
144 textures[texUnit].setWrap(WrapMode.Repeat); in readTextureImage()
146 textures[texUnit].setName(texName); in readTextureImage()
149 textures[texUnit].setName(texKey.getName()); in readTextureImage()
153 textures[texUnit].setImage(PlaceholderAssets.getPlaceholderImage()); in readTextureImage()
165 textures[texUnit].setWrap(WrapMode.Repeat); in readTextureUnitStatement()
167 textures[texUnit].setWrap(WrapMode.Clamp); in readTextureUnitStatement()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java432 int texUnit = ((MatParamTexture) matParam).getUnit(); in clearParam() local
437 if (texParam.getUnit() > texUnit) { in clearParam()
457 int texUnit = val.getUnit(); in clearTextureParam() local
463 if (texParam.getUnit() > texUnit) { in clearTextureParam()