3ds Max C++ API Reference
|
Classes | |
class | MXS_Exit_ValueLocal_Scope |
Class that uses the RAII idiom to push/pop the thread local current_locals_frame. More... | |
class | MXS_Exit_ValueLocalArray_Scope |
Class that uses the RAII idiom to push/pop the thread local current_locals_frame. More... | |
class | ScopedValueTempArray |
Class that uses the RAII idiom to allocate and deallocate value temp arrays. More... | |
class | ScopedSaveCurrentFrames |
Class that uses the RAII idiom to save and restore the current frame data. More... | |
class | ScopedMaxScriptSEHandler |
Class that uses the RAII idiom to push/pop setting a structured error handler. More... | |
class | ScopedMaxScriptEvaluationContext |
Class that uses the RAII idiom to create a maxscript visible stack frame. More... | |
class | ScopedPushControl |
Class that uses the RAII idiom to push/pop the thread local current_controller. More... | |
Macros | |
#define | one_value_local(n1) |
#define | one_value_local_noFrameValidate(n1) |
#define | one_typed_value_local(n1) |
#define | one_typed_value_local_noFrameValidate(n1) |
#define | two_value_locals(n1, n2) |
#define | two_typed_value_locals(n1, n2) |
#define | three_value_locals(n1, n2, n3) |
#define | three_typed_value_locals(n1, n2, n3) |
#define | four_value_locals(n1, n2, n3, n4) |
#define | four_typed_value_locals(n1, n2, n3, n4) |
#define | five_value_locals(n1, n2, n3, n4, n5) |
#define | five_typed_value_locals(n1, n2, n3, n4, n5) |
#define | six_value_locals(n1, n2, n3, n4, n5, n6) |
#define | six_typed_value_locals(n1, n2, n3, n4, n5, n6) |
#define | seven_value_locals(n1, n2, n3, n4, n5, n6, n7) |
#define | seven_typed_value_locals(n1, n2, n3, n4, n5, n6, n7) |
#define | eight_value_locals(n1, n2, n3, n4, n5, n6, n7, n8) |
#define | eight_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8) |
#define | nine_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9) |
#define | nine_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9) |
#define | ten_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10) |
#define | ten_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10) |
#define | eleven_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11) |
#define | eleven_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11) |
#define | twelve_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12) |
#define | twelve_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12) |
#define | thirteen_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13) |
#define | thirteen_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13) |
#define | fourteen_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14) |
#define | fourteen_typed_value_locals(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14) |
#define | value_local_array(var, count) |
#define | one_value_local_tls(n1) |
#define | one_value_local_noFrameValidate_tls(n1) |
#define | one_typed_value_local_tls(n1) |
#define | one_typed_value_local_noFrameValidate_tls(n1) |
#define | two_value_locals_tls(n1, n2) |
#define | two_typed_value_locals_tls(n1, n2) |
#define | three_value_locals_tls(n1, n2, n3) |
#define | three_typed_value_locals_tls(n1, n2, n3) |
#define | four_value_locals_tls(n1, n2, n3, n4) |
#define | four_typed_value_locals_tls(n1, n2, n3, n4) |
#define | five_value_locals_tls(n1, n2, n3, n4, n5) |
#define | five_typed_value_locals_tls(n1, n2, n3, n4, n5) |
#define | six_value_locals_tls(n1, n2, n3, n4, n5, n6) |
#define | six_typed_value_locals_tls(n1, n2, n3, n4, n5, n6) |
#define | seven_value_locals_tls(n1, n2, n3, n4, n5, n6, n7) |
#define | seven_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7) |
#define | eight_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8) |
#define | eight_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8) |
#define | nine_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9) |
#define | nine_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9) |
#define | ten_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10) |
#define | ten_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10) |
#define | eleven_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11) |
#define | eleven_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11) |
#define | twelve_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12) |
#define | twelve_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12) |
#define | thirteen_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13) |
#define | thirteen_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13) |
#define | fourteen_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14) |
#define | fourteen_typed_value_locals_tls(n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14) |
#define | value_local_array_tls(var, count) |
#define | return_value(r) return templated_return_value_fn(r) |
#define | return_value_tls(r) return templated_return_value_fn_tls(r, _tls) |
#define | save_current_source() |
#define | restore_current_source() |
#define | save_current_source_no_pos() |
#define | restore_current_source_no_pos() |
#define | save_current_source_pos() |
#define | restore_current_source_pos() |
#define | save_current_source_to_frame() |
#define | save_current_source_to_frame_no_pos() |
#define | save_current_source_to_frame_pos() |
#define | save_current_source_to_frame_no_file() |
#define | save_current_source_tls() |
#define | restore_current_source_tls() |
#define | save_current_source_no_pos_tls() |
#define | restore_current_source_no_pos_tls() |
#define | save_current_source_pos_tls() |
#define | restore_current_source_pos_tls() |
#define | save_current_source_to_frame_tls() |
#define | save_current_source_to_frame_no_pos_tls() |
#define | save_current_source_to_frame_pos_tls() |
#define | save_current_source_to_frame_no_file_tls() |
Functions | |
template<typename Type > | |
Type | templated_return_value_fn (Type r) |
template<typename Type > | |
Type | templated_return_value_fn_tls (Type r, MAXScript_TLS *_tls) |
ScripterExport void | save_error_source_data (MAXScript_TLS *tls=nullptr) |
ScripterExport void | clear_error_source_data (MAXScript_TLS *tls=nullptr) |
#define one_value_local | ( | n1 | ) |
#define one_value_local_noFrameValidate | ( | n1 | ) |
#define one_typed_value_local | ( | n1 | ) |
#define one_typed_value_local_noFrameValidate | ( | n1 | ) |
#define two_value_locals | ( | n1, | |
n2 | |||
) |
#define two_typed_value_locals | ( | n1, | |
n2 | |||
) |
#define three_value_locals | ( | n1, | |
n2, | |||
n3 | |||
) |
#define three_typed_value_locals | ( | n1, | |
n2, | |||
n3 | |||
) |
#define four_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4 | |||
) |
#define four_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4 | |||
) |
#define five_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5 | |||
) |
#define five_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5 | |||
) |
#define six_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6 | |||
) |
#define six_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6 | |||
) |
#define seven_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7 | |||
) |
#define seven_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7 | |||
) |
#define eight_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8 | |||
) |
#define eight_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8 | |||
) |
#define nine_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9 | |||
) |
#define nine_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9 | |||
) |
#define ten_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10 | |||
) |
#define ten_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10 | |||
) |
#define eleven_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11 | |||
) |
#define eleven_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11 | |||
) |
#define twelve_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12 | |||
) |
#define twelve_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12 | |||
) |
#define thirteen_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13 | |||
) |
#define thirteen_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13 | |||
) |
#define fourteen_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13, | |||
n14 | |||
) |
#define fourteen_typed_value_locals | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13, | |||
n14 | |||
) |
#define value_local_array | ( | var, | |
count | |||
) |
#define one_value_local_tls | ( | n1 | ) |
#define one_value_local_noFrameValidate_tls | ( | n1 | ) |
#define one_typed_value_local_tls | ( | n1 | ) |
#define one_typed_value_local_noFrameValidate_tls | ( | n1 | ) |
#define two_value_locals_tls | ( | n1, | |
n2 | |||
) |
#define two_typed_value_locals_tls | ( | n1, | |
n2 | |||
) |
#define three_value_locals_tls | ( | n1, | |
n2, | |||
n3 | |||
) |
#define three_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3 | |||
) |
#define four_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4 | |||
) |
#define four_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4 | |||
) |
#define five_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5 | |||
) |
#define five_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5 | |||
) |
#define six_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6 | |||
) |
#define six_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6 | |||
) |
#define seven_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7 | |||
) |
#define seven_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7 | |||
) |
#define eight_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8 | |||
) |
#define eight_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8 | |||
) |
#define nine_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9 | |||
) |
#define nine_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9 | |||
) |
#define ten_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10 | |||
) |
#define ten_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10 | |||
) |
#define eleven_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11 | |||
) |
#define eleven_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11 | |||
) |
#define twelve_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12 | |||
) |
#define twelve_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12 | |||
) |
#define thirteen_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13 | |||
) |
#define thirteen_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13 | |||
) |
#define fourteen_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13, | |||
n14 | |||
) |
#define fourteen_typed_value_locals_tls | ( | n1, | |
n2, | |||
n3, | |||
n4, | |||
n5, | |||
n6, | |||
n7, | |||
n8, | |||
n9, | |||
n10, | |||
n11, | |||
n12, | |||
n13, | |||
n14 | |||
) |
#define value_local_array_tls | ( | var, | |
count | |||
) |
#define return_value | ( | r | ) | return templated_return_value_fn(r) |
#define return_value_tls | ( | r | ) | return templated_return_value_fn_tls(r, _tls) |
#define save_current_source | ( | ) |
#define restore_current_source | ( | ) |
#define save_current_source_no_pos | ( | ) |
#define restore_current_source_no_pos | ( | ) |
#define save_current_source_pos | ( | ) |
#define restore_current_source_pos | ( | ) |
#define save_current_source_to_frame | ( | ) |
#define save_current_source_to_frame_no_pos | ( | ) |
#define save_current_source_to_frame_pos | ( | ) |
#define save_current_source_to_frame_no_file | ( | ) |
#define save_current_source_tls | ( | ) |
#define restore_current_source_tls | ( | ) |
#define save_current_source_no_pos_tls | ( | ) |
#define restore_current_source_no_pos_tls | ( | ) |
#define save_current_source_pos_tls | ( | ) |
#define restore_current_source_pos_tls | ( | ) |
#define save_current_source_to_frame_tls | ( | ) |
#define save_current_source_to_frame_no_pos_tls | ( | ) |
#define save_current_source_to_frame_pos_tls | ( | ) |
#define save_current_source_to_frame_no_file_tls | ( | ) |
Type templated_return_value_fn | ( | Type | r | ) |
Type templated_return_value_fn_tls | ( | Type | r, |
MAXScript_TLS * | _tls | ||
) |
ScripterExport void save_error_source_data | ( | MAXScript_TLS * | tls = nullptr | ) |
ScripterExport void clear_error_source_data | ( | MAXScript_TLS * | tls = nullptr | ) |