RendererWebGL1

final
class RendererWebGL1(config: RendererConfig, loadedTextureAssets: List[LoadedTextureAsset], cNc: ContextAndCanvas, globalEventStream: GlobalEventStream) extends Renderer
trait Renderer
class Object
trait Matchable
class Any

Value members

Concrete methods

def bindAttibuteBuffer(gl: WebGLRenderingContext, attributeLocation: Int, size: Int): Unit
def drawLayer(displayEntities: Array[DisplayEntity], shaderProgram: WebGLProgram, projectionMatrix: Array[Double]): Unit
def drawScene(sceneData: ProcessedSceneData, runningTime: Seconds): Unit
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def init(shaders: Set[RawShaderCode]): Unit
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def renderEntities(displayEntities: Array[DisplayEntity], shaderProgram: WebGLProgram, baseTransform: CheapMatrix4): Unit
def resize(canvas: Canvas, magnification: Int): Unit
def screenHeight: Int
def screenWidth: Int
def setBaseTransform(shaderProgram: WebGLProgram, baseTransform: CheapMatrix4): Unit
def setupVertexShaderState(gl: WebGLRenderingContext, displayObject: DisplayObject, shaderProgram: WebGLProgram): Unit

Concrete fields

@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
var lastHeight: Int
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
var lastWidth: Int
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))