EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

uniform3iv method

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

IE11

 

Syntax

WebGLRenderingContext.uniform3iv(location, v);

Parameters

location [in]

Type: WebGLUniformLocation

v [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 inbt 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

 

 

Mostrar:
© 2014 Microsoft