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);