Max API
8.0.2
|
Functions | |
t_jit_err | jit_atom_setlong (t_atom *a, t_atom_long b) |
Sets atom value to long integer. More... | |
t_jit_err | jit_atom_setfloat (t_atom *a, double b) |
Sets atom value to floating point number. More... | |
t_jit_err | jit_atom_setsym (t_atom *a, t_symbol *b) |
Sets atom value to symbol. More... | |
t_jit_err | jit_atom_setobj (t_atom *a, void *b) |
Sets atom value to object pointer. More... | |
t_atom_long | jit_atom_getlong (t_atom *a) |
Retrieves atom value as long integer. More... | |
double | jit_atom_getfloat (t_atom *a) |
Retrieves atom value as floating point number. More... | |
t_symbol * | jit_atom_getsym (t_atom *a) |
Retrieves atom value as symbol pointer. More... | |
void * | jit_atom_getobj (t_atom *a) |
Retrieves atom value as object pointer. More... | |
long | jit_atom_getcharfix (t_atom *a) |
Retrieves atom value as an 8 bit fixed point number. More... | |
long | jit_atom_arg_getlong (t_atom_long *c, long idx, long ac, t_atom *av) |
Retrieves atom argument at index as long integer if present. More... | |
long | jit_atom_arg_getfloat (float *c, long idx, long ac, t_atom *av) |
Retrieves atom argument at index as floating point number if present. More... | |
long | jit_atom_arg_getdouble (double *c, long idx, long ac, t_atom *av) |
Retrieves atom argument at index as double precision floating point number if present. More... | |
long | jit_atom_arg_getsym (t_symbol **c, long idx, long ac, t_atom *av) |
Retrieves atom argument at index as symbol pointer if present. More... | |
long jit_atom_arg_getdouble | ( | double * | c, |
long | idx, | ||
long | ac, | ||
t_atom * | av | ||
) |
Retrieves atom argument at index as double precision floating point number if present.
This function is useful for setting the values only if there is an argument at the specified index, otherwise, the input value is untouched.
c | pointer to double (should contain desired default) |
idx | atom argument index |
ac | atom argument count |
av | atom argument vector |
References atom_arg_getdouble().
long jit_atom_arg_getfloat | ( | float * | c, |
long | idx, | ||
long | ac, | ||
t_atom * | av | ||
) |
Retrieves atom argument at index as floating point number if present.
This function is useful for setting the values only if there is an argument at the specified index, otherwise, the input value is untouched.
c | pointer to float (should contain desired default) |
idx | atom argument index |
ac | atom argument count |
av | atom argument vector |
References atom_arg_getfloat().
long jit_atom_arg_getlong | ( | t_atom_long * | c, |
long | idx, | ||
long | ac, | ||
t_atom * | av | ||
) |
Retrieves atom argument at index as long integer if present.
This function is useful for setting the values only if there is an argument at the specified index, otherwise, the input value is untouched.
c | pointer to long (should contain desired default) |
idx | atom argument index |
ac | atom argument count |
av | atom argument vector |
References atom_arg_getlong().
Referenced by max_jit_mop_matrix_args().
Retrieves atom argument at index as symbol pointer if present.
This function is useful for setting the values only if there is an argument at the specified index, otherwise, the input value is untouched.
c | pointer to symbol pointer (should contain desired default) |
idx | atom argument index |
ac | atom argument count |
av | atom argument vector |
References atom_arg_getsym().
Referenced by max_jit_mop_matrix_args().
long jit_atom_getcharfix | ( | t_atom * | a | ) |
Retrieves atom value as an 8 bit fixed point number.
a | atom pointer |
References atom_getcharfix().
Referenced by jit_matrix_fillplane(), jit_matrix_setall(), and jit_matrix_setcell().
double jit_atom_getfloat | ( | t_atom * | a | ) |
Retrieves atom value as floating point number.
a | atom pointer |
References atom_getfloat().
Referenced by jit_matrix_fillplane(), jit_matrix_setall(), and jit_matrix_setcell().
long jit_atom_getlong | ( | t_atom * | a | ) |
Retrieves atom value as long integer.
a | atom pointer |
Referenced by jit_matrix_exprfill(), jit_matrix_fillplane(), jit_matrix_getcell(), jit_matrix_setall(), jit_matrix_setcell(), jit_matrix_setcell1d(), jit_matrix_setcell2d(), jit_matrix_setcell3d(), jit_matrix_setplane1d(), jit_matrix_setplane2d(), and jit_matrix_setplane3d().
void* jit_atom_getobj | ( | t_atom * | a | ) |
Retrieves atom value as object pointer.
a | atom pointer |
References atom_getobj().
Referenced by jit_matrix_setcell().
Retrieves atom value as symbol pointer.
a | atom pointer |
Referenced by jit_matrix_exprfill(), jit_matrix_jit_gl_texture(), jit_matrix_op(), jit_matrix_setcell(), and max_jit_mop_jit_matrix().
t_jit_err jit_atom_setfloat | ( | t_atom * | a, |
double | b | ||
) |
Sets atom value to floating point number.
a | atom pointer |
b | floating point value |
References atom_setfloat().
Referenced by jit_matrix_getcell().
t_jit_err jit_atom_setlong | ( | t_atom * | a, |
t_atom_long | b | ||
) |
Sets atom value to long integer.
a | atom pointer |
b | integer value |
Referenced by jit_matrix_getcell(), jit_matrix_setcell1d(), jit_matrix_setcell2d(), jit_matrix_setcell3d(), jit_matrix_setplane1d(), jit_matrix_setplane2d(), and jit_matrix_setplane3d().
t_jit_err jit_atom_setobj | ( | t_atom * | a, |
void * | b | ||
) |
Sets atom value to object pointer.
a | atom pointer |
b | object pointer |
References atom_setobj().
Referenced by jit_matrix_getcell(), and jit_matrix_jit_gl_texture().
Sets atom value to symbol.
a | atom pointer |
b | symbol value |
References atom_setsym().
Referenced by jit_matrix_getcell(), jit_matrix_setcell1d(), jit_matrix_setcell2d(), jit_matrix_setcell3d(), jit_matrix_setplane1d(), jit_matrix_setplane2d(), jit_matrix_setplane3d(), jit_mop_single_type(), jit_object_exportattrs(), and max_jit_mop_outputmatrix().