class MEFuncImpls
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<Function,FuncImpl> |
funcs |
Constructor and Description |
---|
MEFuncImpls() |
Modifier and Type | Method and Description |
---|---|
private static void |
declareFunction(FuncImpl impl,
java.lang.String name,
Type... ptypes) |
private static void |
declareFunctionIntCast()
Used to declare intcast function:
int intcast(float x)
|
private static void |
declareFunctionSample(Type type)
Used to declare sample function:
float4 sample([l,f]sampler s, float2 loc)
|
private static void |
declareOverloadsClamp()
Used to declare clamp functions of the following form:
|
private static void |
declareOverloadsDistance()
Used to declare distance functions of the following form:
float distance(
|
private static void |
declareOverloadsDot()
Used to declare dot functions of the following form:
float dot(
|
private static void |
declareOverloadsMinMax(java.lang.String name,
java.lang.String pattern)
Used to declare min/max functions of the following form:
|
private static void |
declareOverloadsMix()
Used to declare mix functions of the following form:
|
private static void |
declareOverloadsNormalize()
Used to declare normalize functions of the following form:
|
private static void |
declareOverloadsSimple(java.lang.String name,
java.lang.String pattern)
Used to declare simple functions of the following form:
|
private static void |
declareOverloadsSimple2(java.lang.String name,
java.lang.String pattern)
Used to declare simple two parameter functions of the following form:
|
private static void |
declareOverloadsSmoothstep()
Used to declare smoothstep functions of the following form:
|
(package private) static FuncImpl |
get(Function func) |
private static void declareFunction(FuncImpl impl, java.lang.String name, Type... ptypes)
private static void declareFunctionSample(Type type)
private static void declareFunctionIntCast()
private static void declareOverloadsSimple(java.lang.String name, java.lang.String pattern)
private static void declareOverloadsSimple2(java.lang.String name, java.lang.String pattern)
private static void declareOverloadsNormalize()
private static void declareOverloadsDot()
private static void declareOverloadsDistance()
private static void declareOverloadsMinMax(java.lang.String name, java.lang.String pattern)
private static void declareOverloadsClamp()
private static void declareOverloadsSmoothstep()
private static void declareOverloadsMix()