You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/stdlib-reference/global-decls/EvaluateAttributeAtCentroid.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ layout: stdlib-reference
8
8
9
9
<pre>
10
10
T <ahref="/slang/stdlib-reference/global-decls/EvaluateAttributeAtCentroid">EvaluateAttributeAtCentroid</a><T>(T <spanclass='code_param'>x</span>)
11
-
where T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
11
+
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
where T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
16
+
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <ahref="/slang/stdlib-reference/global-decls/EvaluateAttributeAtCentroid">EvaluateAttributeAtCentroid</a><T,N:<spanclass="code_keyword">int</span>,M:<spanclass="code_keyword">int</span>>(<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <spanclass='code_param'>x</span>)
17
+
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
where T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
13
+
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
where T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
18
+
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <ahref="/slang/stdlib-reference/global-decls/EvaluateAttributeAtSample">EvaluateAttributeAtSample</a><T,N:<spanclass="code_keyword">int</span>,M:<spanclass="code_keyword">int</span>>(
21
+
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <spanclass='code_param'>x</span>,
where T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
23
+
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
19
+
20
+
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <ahref="/slang/stdlib-reference/global-decls/EvaluateAttributeSnapped">EvaluateAttributeSnapped</a><T,N:<spanclass="code_keyword">int</span>,M:<spanclass="code_keyword">int</span>>(
21
+
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <spanclass='code_param'>x</span>,
<spanclass='code_keyword'>where</span> T : <ahref="/slang/stdlib-reference/interfaces/BuiltinArithmeticType/index"class="code_type">__BuiltinArithmeticType</a>;
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <ahref="/slang/stdlib-reference/global-decls/GetAttributeAtVertex">GetAttributeAtVertex</a><T,N:<spanclass="code_keyword">int</span>,M:<spanclass="code_keyword">int</span>>(
35
+
<ahref="/slang/stdlib-reference/types/matrix/index"class="code_type">matrix</a><<ahref="/slang/stdlib-reference/types/matrix/T">T</a>, N, M> <spanclass='code_param'>attribute</span>,
0 commit comments