public class DitherPattern extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DitherPattern.DitherWeights |
| Constructor and Description |
|---|
DitherPattern() |
| Modifier and Type | Method and Description |
|---|---|
static DitherPattern.DitherWeights |
getWeights(int spw,
int tlw,
int tlh,
int numValidTextures,
int ox,
int oy,
int maxNeighbors,
double sigma,
int[] spox,
int[] spoy) |
static void |
makePattern(int spw,
int step,
int[] spox,
int[] spoy) |
static String |
makeShader(int numSamples) |
public static void makePattern(int spw,
int step,
int[] spox,
int[] spoy)
spw - window widthstep - flattened stepspox - receives x offsetsspoy - receives y offsetspublic static String makeShader(int numSamples)
public static DitherPattern.DitherWeights getWeights(int spw, int tlw, int tlh, int numValidTextures, int ox, int oy, int maxNeighbors, double sigma, int[] spox, int[] spoy)
Copyright © 2018–2025 BigDataViewer. All rights reserved.