|
@@ -18860,6 +18860,7 @@ declare module BABYLON {
|
|
|
private _vectors3;
|
|
|
private _vectors4;
|
|
|
private _matrices;
|
|
|
+ private _matrixArrays;
|
|
|
private _matrices3x3;
|
|
|
private _matrices2x2;
|
|
|
private _vectors2Arrays;
|
|
@@ -18997,6 +18998,13 @@ declare module BABYLON {
|
|
|
*/
|
|
|
setMatrix(name: string, value: Matrix): ShaderMaterial;
|
|
|
/**
|
|
|
+ * Set a float32Array in the shader from a matrix array.
|
|
|
+ * @param name Define the name of the uniform as defined in the shader
|
|
|
+ * @param value Define the value to give to the uniform
|
|
|
+ * @return the material itself allowing "fluent" like uniform updates
|
|
|
+ */
|
|
|
+ setMatrices(name: string, value: Matrix[]): ShaderMaterial;
|
|
|
+ /**
|
|
|
* Set a mat3 in the shader from a Float32Array.
|
|
|
* @param name Define the name of the uniform as defined in the shader
|
|
|
* @param value Define the value to give to the uniform
|