WebGLHelper

object WebGLHelper
class Object
trait Matchable
class Any

Value members

Concrete methods

def attach(gl: WebGLRenderingContext, shaderProgram: WebGLProgram, location: Int, uniformName: String, texture: WebGLTexture): Unit
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def attachUBOData(gl2: WebGL2RenderingContext, data: Array[Float], buffer: WebGLBuffer): Unit
def bindUBO(gl2: WebGL2RenderingContext, activeShader: WebGLProgram, uboStructName: String, blockPointer: Int, buffer: WebGLBuffer): Unit
def createAndBindTexture(gl: WebGLRenderingContext): WebGLTexture
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def intToTextureLocation: Int => Int
def organiseImage(gl: WebGLRenderingContext, image: ImageData): WebGLTexture
def setAlphaBlend(gl: WebGLRenderingContext): Unit
def setBlendAdd(gl: WebGLRenderingContext): Unit
def setBlendFunc(gl: WebGLRenderingContext, src: BlendFactor, dst: BlendFactor): Unit
def setBlendReverseSubtract(gl: WebGLRenderingContext): Unit
def setBlendSubtract(gl: WebGLRenderingContext): Unit
def setLightsBlend(gl: WebGLRenderingContext): Unit
def setNormalBlend(gl: WebGLRenderingContext): Unit
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.asInstanceOf", "scalafix:DisableSyntax.throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def shaderProgramSetup(gl: WebGLRenderingContext, layerLabel: String, shader: RawShaderCode): WebGLProgram