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

uniform1iv method

Assigns an integer vector array value to a uniform variable for the current program object.

IE11

 

Syntax

WebGLRenderingContext.uniform1iv(location, value);

Parameters

location [in]

Type: WebGLUniformLocation

The location of the uniform to modify.

value [in]

Type: Int32Array

A 32 bit Integer array of data for the uniform.

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.

 

See also

WebGLRenderingContext

 

 

Mostrar:
© 2014 Microsoft