|
Blender
V3.3
|
Classes | |
| class | IndexFieldInput |
| class | TwoOutputFunction |
| class | AddPrefixFunction |
| class | CreateRangeFunction |
| class | GenericAppendFunction |
| class | ConcatVectorsFunction |
| class | AppendFunction |
| class | SumVectorFunction |
| class | OptionalOutputsFunction |
Functions | |
| TEST (field, ConstantFunction) | |
| TEST (field, VArrayInput) | |
| TEST (field, VArrayInputMultipleOutputs) | |
| TEST (field, InputAndFunction) | |
| TEST (field, TwoFunctions) | |
| TEST (field, FunctionTwoOutputs) | |
| TEST (field, TwoFunctionsTwoOutputs) | |
| TEST (field, SameFieldTwice) | |
| TEST (field, IgnoredOutput) | |
| TEST (multi_function_procedure, ConstantOutput) | |
| TEST (multi_function_procedure, SimpleTest) | |
| TEST (multi_function_procedure, BranchTest) | |
| TEST (multi_function_procedure, EvaluateOne) | |
| TEST (multi_function_procedure, SimpleLoop) | |
| TEST (multi_function_procedure, Vectors) | |
| TEST (multi_function_procedure, BufferReuse) | |
| TEST (multi_function_procedure, OutputBufferReplaced) | |
| blender::fn::tests::TEST | ( | field | , |
| ConstantFunction | |||
| ) |
Definition at line 12 of file FN_field_test.cc.
References blender::compositor::context, EXPECT_EQ(), and result.
| blender::fn::tests::TEST | ( | field | , |
| FunctionTwoOutputs | |||
| ) |
Definition at line 187 of file FN_field_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::compositor::context, EXPECT_EQ(), indices, and mask().
| blender::fn::tests::TEST | ( | field | , |
| IgnoredOutput | |||
| ) |
Definition at line 277 of file FN_field_test.cc.
References EXPECT_EQ(), and blender::VArrayCommon< T >::get().
| blender::fn::tests::TEST | ( | field | , |
| InputAndFunction | |||
| ) |
Definition at line 103 of file FN_field_test.cc.
References Freestyle::a, usdtokens::b(), blender::compositor::context, EXPECT_EQ(), indices, mask(), and result.
| blender::fn::tests::TEST | ( | field | , |
| SameFieldTwice | |||
| ) |
Definition at line 257 of file FN_field_test.cc.
References blender::fn::evaluate_fields(), EXPECT_EQ(), and mask().
| blender::fn::tests::TEST | ( | field | , |
| TwoFunctions | |||
| ) |
Definition at line 128 of file FN_field_test.cc.
References Freestyle::a, usdtokens::b(), blender::compositor::context, EXPECT_EQ(), indices, mask(), and result.
| blender::fn::tests::TEST | ( | field | , |
| TwoFunctionsTwoOutputs | |||
| ) |
Definition at line 220 of file FN_field_test.cc.
References Freestyle::a, blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), EXPECT_EQ(), blender::VArrayCommon< T >::get(), and mask().
| blender::fn::tests::TEST | ( | field | , |
| VArrayInput | |||
| ) |
Definition at line 46 of file FN_field_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::compositor::context, EXPECT_EQ(), indices, and mask().
| blender::fn::tests::TEST | ( | field | , |
| VArrayInputMultipleOutputs | |||
| ) |
Definition at line 76 of file FN_field_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::compositor::context, EXPECT_EQ(), indices, and mask().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| BranchTest | |||
| ) |
procedure(int &var1, bool var2) { if (var2) { var1 += 100; } else { var1 += 10; } var1 += 10; }
Definition at line 95 of file FN_multi_function_procedure_test.cc.
References Freestyle::a, blender::fn::MFProcedureBuilder::add_call(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::fn::MFProcedureBuilder::Branch::branch_false, blender::compositor::context, EXPECT_EQ(), params, and blender::fn::MFProcedure::validate().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| BufferReuse | |||
| ) |
procedure(int a, int *out) { int b = a + 10; int c = c + 10; int d = d + 10; int e = d + 10; out = e + 10; }
Definition at line 329 of file FN_multi_function_procedure_test.cc.
References Freestyle::a, blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::compositor::context, EXPECT_EQ(), inputs, params, and blender::fn::MFProcedure::validate().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| ConstantOutput | |||
| ) |
procedure(int *var2) { var1 = 5; var2 = var1 + var1; }
Definition at line 12 of file FN_multi_function_procedure_test.cc.
References Freestyle::a, blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), usdtokens::b(), blender::compositor::context, EXPECT_EQ(), params, and blender::fn::MFProcedure::validate().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| EvaluateOne | |||
| ) |
procedure(int var1, int *var2) { var2 = var1 + 10; }
Definition at line 147 of file FN_multi_function_procedure_test.cc.
References Freestyle::a, blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::compositor::context, EXPECT_EQ(), and params.
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| OutputBufferReplaced | |||
| ) |
Definition at line 381 of file FN_multi_function_procedure_test.cc.
References blender::compositor::context, EXPECT_EQ(), blender::fn::MFProcedure::new_variable(), output, params, and blender::fn::MFProcedure::validate().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| SimpleLoop | |||
| ) |
procedure(int count, int *out) { out = 1; int index = 0' loop { if (index >= count) { break; } out *= 2; index += 1; } out += 1000; }
Definition at line 189 of file FN_multi_function_procedure_test.cc.
References Freestyle::a, blender::fn::MFProcedureBuilder::add_destruct(), blender::fn::MFProcedureBuilder::add_loop_break(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), usdtokens::b(), blender::fn::MFProcedureBuilder::Branch::branch_false, blender::fn::MFProcedureBuilder::Branch::branch_true, blender::compositor::context, EXPECT_EQ(), params, blender::fn::MFVariable::set_name(), and blender::fn::MFProcedure::validate().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| SimpleTest | |||
| ) |
procedure(int var1, int var2, int *var4) { int var3 = var1 + var2; var4 = var2 + var3; var4 += 10; }
Definition at line 49 of file FN_multi_function_procedure_test.cc.
References Freestyle::a, blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), usdtokens::b(), blender::compositor::context, EXPECT_EQ(), params, and blender::fn::MFProcedure::validate().
| blender::fn::tests::TEST | ( | multi_function_procedure | , |
| Vectors | |||
| ) |
procedure(vector<int> v1, vector<int> &v2, vector<int> *v3) { v1.extend(v2); int constant = 5; v2.append(constant); v2.extend(v1); int len = sum(v2); v3 = range(len); }
Definition at line 261 of file FN_multi_function_procedure_test.cc.
References blender::compositor::context, EXPECT_EQ(), blender::fn::MFParamType::ForMutableVector(), params, size(), v1, v2, and blender::fn::MFProcedure::validate().