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

createProgram method

Creates an empty WebGLProgram object to which vector and fragment WebGLShader objects can be bound.

IE11

 

Syntax

var retVal = WebGLRenderingContext.createProgram();

Parameters

This method has no parameters.

Return value

Type: WebGLProgram

A program object.

Remarks

Return a 0 if an error occurs creating a program object.

See also

WebGLRenderingContext

 

 

표시:
© 2014 Microsoft