Explorar el Código

Merge pull request #19095 from twastvedt/patch-1

Add samples to WebGLMultisampleRenderTarget.d.ts.
Mr.doob hace 5 años
padre
commit
dba9a478b9
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/renderers/WebGLMultisampleRenderTarget.d.ts

+ 5 - 0
src/renderers/WebGLMultisampleRenderTarget.d.ts

@@ -13,4 +13,9 @@ export class WebGLMultisampleRenderTarget extends WebGLRenderTarget {
 
 	readonly isWebGLMultisampleRenderTarget: true;
 
+	/**
+	 * Specifies the number of samples to be used for the renderbuffer storage.However, the maximum supported size for multisampling is platform dependent and defined via gl.MAX_SAMPLES.
+	 */
+	samples: number;
+
 }