RendererWebGL1

final class RendererWebGL1(config: RendererConfig, loadedTextureAssets: Array[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
def init(shaders: Set[RawShaderCode]): Unit
def renderEntities(displayEntities: Array[DisplayEntity], shaderProgram: WebGLProgram, baseTransform: CheapMatrix4): Unit
def resize(canvas: Canvas, magnification: Int): Unit
def setBaseTransform(shaderProgram: WebGLProgram, baseTransform: CheapMatrix4): Unit
def setupVertexShaderState(gl: WebGLRenderingContext, displayObject: DisplayObject, shaderProgram: WebGLProgram): Unit