Package com.ardor3d.image.Texture

Examples of com.ardor3d.image.Texture.WrapMode


            for (int x = 0; x < textureWidth; x++) {
                setDataPixel(rectangle, textureWidth, textureHeight, lightData, data, y, x, hasAlpha);
            }
        }

        final WrapMode mode = parameterObject.getTexture().getWrap(WrapAxis.S);
        switch (mode) {
            case BorderClamp:
            case MirrorBorderClamp:
                final ReadOnlyColorRGBA col = parameterObject.getTexture().getBorderColor();
                borderClamp(data, rectangle, textureWidth, textureHeight, parameterObject, col);
View Full Code Here

TOP

Related Classes of com.ardor3d.image.Texture.WrapMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.