@@ -96,6 +96,7 @@ typedef enum {
96
96
GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR2_ARRAY ,
97
97
GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR3_ARRAY ,
98
98
GDEXTENSION_VARIANT_TYPE_PACKED_COLOR_ARRAY ,
99
+ GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR4_ARRAY ,
99
100
100
101
GDEXTENSION_VARIANT_TYPE_VARIANT_MAX
101
102
} GDExtensionVariantType ;
@@ -1963,32 +1964,6 @@ typedef uint8_t *(*GDExtensionInterfacePackedByteArrayOperatorIndex)(GDExtension
1963
1964
*/
1964
1965
typedef const uint8_t * (* GDExtensionInterfacePackedByteArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
1965
1966
1966
- /**
1967
- * @name packed_color_array_operator_index
1968
- * @since 4.1
1969
- *
1970
- * Gets a pointer to a color in a PackedColorArray.
1971
- *
1972
- * @param p_self A pointer to a PackedColorArray object.
1973
- * @param p_index The index of the Color to get.
1974
- *
1975
- * @return A pointer to the requested Color.
1976
- */
1977
- typedef GDExtensionTypePtr (* GDExtensionInterfacePackedColorArrayOperatorIndex )(GDExtensionTypePtr p_self , GDExtensionInt p_index );
1978
-
1979
- /**
1980
- * @name packed_color_array_operator_index_const
1981
- * @since 4.1
1982
- *
1983
- * Gets a const pointer to a color in a PackedColorArray.
1984
- *
1985
- * @param p_self A const pointer to a const PackedColorArray object.
1986
- * @param p_index The index of the Color to get.
1987
- *
1988
- * @return A const pointer to the requested Color.
1989
- */
1990
- typedef GDExtensionTypePtr (* GDExtensionInterfacePackedColorArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
1991
-
1992
1967
/**
1993
1968
* @name packed_float32_array_operator_index
1994
1969
* @since 4.1
@@ -2171,6 +2146,58 @@ typedef GDExtensionTypePtr (*GDExtensionInterfacePackedVector3ArrayOperatorIndex
2171
2146
*/
2172
2147
typedef GDExtensionTypePtr (* GDExtensionInterfacePackedVector3ArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
2173
2148
2149
+ /**
2150
+ * @name packed_vector4_array_operator_index
2151
+ * @since 4.3
2152
+ *
2153
+ * Gets a pointer to a Vector4 in a PackedVector4Array.
2154
+ *
2155
+ * @param p_self A pointer to a PackedVector4Array object.
2156
+ * @param p_index The index of the Vector4 to get.
2157
+ *
2158
+ * @return A pointer to the requested Vector4.
2159
+ */
2160
+ typedef GDExtensionTypePtr (* GDExtensionInterfacePackedVector4ArrayOperatorIndex )(GDExtensionTypePtr p_self , GDExtensionInt p_index );
2161
+
2162
+ /**
2163
+ * @name packed_vector4_array_operator_index_const
2164
+ * @since 4.3
2165
+ *
2166
+ * Gets a const pointer to a Vector4 in a PackedVector4Array.
2167
+ *
2168
+ * @param p_self A const pointer to a PackedVector4Array object.
2169
+ * @param p_index The index of the Vector4 to get.
2170
+ *
2171
+ * @return A const pointer to the requested Vector4.
2172
+ */
2173
+ typedef GDExtensionTypePtr (* GDExtensionInterfacePackedVector4ArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
2174
+
2175
+ /**
2176
+ * @name packed_color_array_operator_index
2177
+ * @since 4.1
2178
+ *
2179
+ * Gets a pointer to a color in a PackedColorArray.
2180
+ *
2181
+ * @param p_self A pointer to a PackedColorArray object.
2182
+ * @param p_index The index of the Color to get.
2183
+ *
2184
+ * @return A pointer to the requested Color.
2185
+ */
2186
+ typedef GDExtensionTypePtr (* GDExtensionInterfacePackedColorArrayOperatorIndex )(GDExtensionTypePtr p_self , GDExtensionInt p_index );
2187
+
2188
+ /**
2189
+ * @name packed_color_array_operator_index_const
2190
+ * @since 4.1
2191
+ *
2192
+ * Gets a const pointer to a color in a PackedColorArray.
2193
+ *
2194
+ * @param p_self A const pointer to a PackedColorArray object.
2195
+ * @param p_index The index of the Color to get.
2196
+ *
2197
+ * @return A const pointer to the requested Color.
2198
+ */
2199
+ typedef GDExtensionTypePtr (* GDExtensionInterfacePackedColorArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
2200
+
2174
2201
/**
2175
2202
* @name array_operator_index
2176
2203
* @since 4.1
0 commit comments