EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

uniform2iv method

Assigns two dimensional integer vector array values to a uniform variable for the current program object.

IE11

 

Syntax

WebGLRenderingContext.uniform2iv(location, value);

Parameters

location [in]

Type: WebGLUniformLocation

value [in]

Type: Int32Array

Return value

This method does not return a value.

Remarks

WebGL errorDescription
gl.INVALID_OPERATION
  • The location doesn't belong to the current program.
  • There is no current program object.
  • If location is an invalid location for the current program object and location isn't equal to -1.
  • value references a typed array instance other than Float32Array.
  • Uniform specified by location isn't a float type.

 

See also

WebGLRenderingContext

 

 

표시:
© 2014 Microsoft