sebavan 6 éve
szülő
commit
7d5aad4a7e
2 módosított fájl, 0 hozzáadás és 12 törlés
  1. 0 3
      src/Engines/IPipelineContext.ts
  2. 0 9
      src/Engines/webgpuEngine.ts

+ 0 - 3
src/Engines/IPipelineContext.ts

@@ -105,7 +105,6 @@ export interface IPipelineContext {
      * Sets an array 3 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6] will result in [[1,2,3],[4,5,6]] in the shader)
      * @param uniformName Name of the variable.
      * @param array array to be set.
-     * @returns this effect.
      */
     setArray3(uniformName: string, array: number[]): void;
 
@@ -148,7 +147,6 @@ export interface IPipelineContext {
      * Sets a float on a uniform variable.
      * @param uniformName Name of the variable.
      * @param value value to be set.
-     * @returns this effect.
      */
     setFloat(uniformName: string, value: number): void;
 
@@ -204,7 +202,6 @@ export interface IPipelineContext {
      * @param y Second float in float4.
      * @param z Third float in float4.
      * @param w Fourth float in float4.
-     * @returns this effect.
      */
     setFloat4(uniformName: string, x: number, y: number, z: number, w: number): void;
 

+ 0 - 9
src/Engines/webgpuEngine.ts

@@ -2437,9 +2437,6 @@ export class WebGPUEngine extends Engine {
     public setMatrices(uniform: WebGLUniformLocation, matrices: Float32Array): void {
     }
 
-    public setMatrix(uniform: WebGLUniformLocation, matrix: Matrix): void {
-    }
-
     public setMatrix3x3(uniform: WebGLUniformLocation, matrix: Float32Array): void {
     }
 
@@ -2460,10 +2457,4 @@ export class WebGPUEngine extends Engine {
 
     public setFloat4(uniform: WebGLUniformLocation, x: number, y: number, z: number, w: number): void {
     }
-
-    public setColor3(uniform: WebGLUniformLocation, color3: Color3): void {
-    }
-
-    public setColor4(uniform: WebGLUniformLocation, color3: Color3, alpha: number): void {
-    }
 }