Namespaces | |
maxon | |
maxon::corenodes | |
maxon::corenodes::details | |
Macros | |
#define | PRIVATE_MAXON_CORENODE_OPERATOR_INDEX(x, i, a) |
#define | PRIVATE_MAXON_CORENODE_OPERATOR_PARAM(x, i, a) |
#define | PRIVATE_MAXON_CORENODE_OPERATOR_NAME(x, i, a) |
#define | PRIVATE_MAXON_CORENODE_OPERATOR_DECLVAL(x, i, a) |
#define | PRIVATE_MAXON_CORENODE_OPERATOR(op, N, R, ...) |
#define | MAXON_CORENODE_OPERATOR_UNARY(N, op, T) |
#define | MAXON_CORENODE_OPERATOR_BINARY(N, op, T1, T2) |
#define | MAXON_CORENODE_FUNCTION(N, func, ...) |
#define | MAXON_CORENODE_OPERATOR_UNARY_LLVM(OP, LLVM, LLVMTYPE) |
#define | MAXON_CORENODE_OPERATOR_BINARY_LLVM(OP, LLVM, LLVMTYPE) |
#define PRIVATE_MAXON_CORENODE_OPERATOR | ( | op, | |
N, | |||
R, | |||
... | |||
) |
#define MAXON_CORENODE_OPERATOR_UNARY | ( | N, | |
op, | |||
T | |||
) |
This macro defines a core node implementation class N for the given unary operator op. The implemented core node consists of a single BatchMicroNode. The output port has the name "out", the input port is named "in".
[in] | N | Name of the class to define. |
[in] | op | A unary operator such as -. |
[in] | T | Type of the operand. |
#define MAXON_CORENODE_OPERATOR_BINARY | ( | N, | |
op, | |||
T1, | |||
T2 | |||
) |
This macro defines a core node implementation class N for the given binary operator op. The implemented core node consists of a single BatchMicroNode. The output port has the name "out", the input ports are named "in1", "in2".
[in] | N | Name of the class to define. |
[in] | op | A binary operator such as +. |
[in] | T1 | Type of the left operand. |
[in] | T2 | Type of the right operand. |
#define MAXON_CORENODE_FUNCTION | ( | N, | |
func, | |||
... | |||
) |
This macro defines a core node implementation class N for the given function func. The implemented core node consists of a single BatchMicroNode. The output port has the name "out", the input ports are named "in1", "in2", ... (or just "in" for a function with a single parameter).
[in] | N | Name of the class to define. |
[in] | func | A function such as Abs or BoxStep. |
[in] | ... | Port types of the core node. The port values are passed as arguments to func. |
#define MAXON_CORENODE_OPERATOR_UNARY_LLVM | ( | OP, | |
LLVM, | |||
LLVMTYPE | |||
) |
#define MAXON_CORENODE_OPERATOR_BINARY_LLVM | ( | OP, | |
LLVM, | |||
LLVMTYPE | |||
) |