EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

uniform4iv method

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

IE11

 

Syntax

WebGLRenderingContext.uniform4iv(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 active program.
  • value references a typed array instance other than Int32Array.
  • Uniform specified by location isn't an int type.
gl.INVALID_VALUEThe length of value array isn't a multiple of the number of required components.

 

If the location is null, no uniforms are updated and no error code is generated.

See also

WebGLRenderingContext

 

 

表示:
© 2014 Microsoft