@babylonjs/core 7.7.1 → 7.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -719,28 +719,28 @@ export declare class ThinEngine extends AbstractEngine {
719
719
  * @param array defines the array of number to store
720
720
  * @returns true if the value was set
721
721
  */
722
- setArray(uniform: Nullable<WebGLUniformLocation>, array: number[] | Float32Array): boolean;
722
+ setArray(uniform: Nullable<WebGLUniformLocation>, array: FloatArray): boolean;
723
723
  /**
724
724
  * Set the value of an uniform to an array of number (stored as vec2)
725
725
  * @param uniform defines the webGL uniform location where to store the value
726
726
  * @param array defines the array of number to store
727
727
  * @returns true if the value was set
728
728
  */
729
- setArray2(uniform: Nullable<WebGLUniformLocation>, array: number[] | Float32Array): boolean;
729
+ setArray2(uniform: Nullable<WebGLUniformLocation>, array: FloatArray): boolean;
730
730
  /**
731
731
  * Set the value of an uniform to an array of number (stored as vec3)
732
732
  * @param uniform defines the webGL uniform location where to store the value
733
733
  * @param array defines the array of number to store
734
734
  * @returns true if the value was set
735
735
  */
736
- setArray3(uniform: Nullable<WebGLUniformLocation>, array: number[] | Float32Array): boolean;
736
+ setArray3(uniform: Nullable<WebGLUniformLocation>, array: FloatArray): boolean;
737
737
  /**
738
738
  * Set the value of an uniform to an array of number (stored as vec4)
739
739
  * @param uniform defines the webGL uniform location where to store the value
740
740
  * @param array defines the array of number to store
741
741
  * @returns true if the value was set
742
742
  */
743
- setArray4(uniform: Nullable<WebGLUniformLocation>, array: number[] | Float32Array): boolean;
743
+ setArray4(uniform: Nullable<WebGLUniformLocation>, array: FloatArray): boolean;
744
744
  /**
745
745
  * Set the value of an uniform to an array of float32 (stored as matrices)
746
746
  * @param uniform defines the webGL uniform location where to store the value