public MatParamTexture getTextureParam(String name) {
        MatParam param = paramValues.get(name);
        if (param instanceof MatParamTexture) {
            return (MatParamTexture) param;
        }
        return null;
    }
Returns the texture parameter set on this material with the given name,
returns <code>null</code> if the parameter is not set.

@param name The parameter name to look up.
@return The MatParamTexture if set, or null if not set.
jme3-core/src/main/java/com/jme3/material/Material.java