@@ -96,6 +96,7 @@ typedef enum {
9696 GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR2_ARRAY ,
9797 GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR3_ARRAY ,
9898 GDEXTENSION_VARIANT_TYPE_PACKED_COLOR_ARRAY ,
99+ GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR4_ARRAY ,
99100
100101 GDEXTENSION_VARIANT_TYPE_VARIANT_MAX
101102} GDExtensionVariantType ;
@@ -1963,32 +1964,6 @@ typedef uint8_t *(*GDExtensionInterfacePackedByteArrayOperatorIndex)(GDExtension
19631964 */
19641965typedef const uint8_t * (* GDExtensionInterfacePackedByteArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
19651966
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-
19921967/**
19931968 * @name packed_float32_array_operator_index
19941969 * @since 4.1
@@ -2171,6 +2146,58 @@ typedef GDExtensionTypePtr (*GDExtensionInterfacePackedVector3ArrayOperatorIndex
21712146 */
21722147typedef GDExtensionTypePtr (* GDExtensionInterfacePackedVector3ArrayOperatorIndexConst )(GDExtensionConstTypePtr p_self , GDExtensionInt p_index );
21732148
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+
21742201/**
21752202 * @name array_operator_index
21762203 * @since 4.1
0 commit comments