createShader method

  1. @DomName('WebGL2RenderingContext.createShader')
  2. @DocsEditable()
  3. @Experimental()
Shader createShader(int type)

Source

@DomName('WebGL2RenderingContext.createShader')
@DocsEditable()
@Experimental() // untriaged
Shader createShader(int type) => _blink.BlinkWebGL2RenderingContext.instance
    .createShader_Callback_1_(this, type);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_gl/RenderingContext2/createShader.html