LayerRenderer

class LayerRenderer(gl2: WebGL2RenderingContext, textureLocations: Array[TextureLookupResult], maxBatchSize: Int, projectionUBOBuffer: => WebGLBuffer, frameDataUBOBuffer: => WebGLBuffer, cloneReferenceUBOBuffer: => WebGLBuffer, lightDataUBOBuffer: => WebGLBuffer, dynamicText: DynamicText, textTexture: WebGLTexture)
class Object
trait Matchable
class Any

Value members

Concrete methods

def doContextChange(d: DisplayObject, atlasName: Option[AtlasId], currentShader: ShaderId, currentUniformHash: Array[String], customShaders: Dictionary[WebGLProgram], baseTransform: CheapMatrix4, renderMode: Int): Unit
def drawBuffer(instanceCount: Int): Unit
def drawCloneBuffer(instanceCount: Int): Unit
def drawCloneTileBuffer(instanceCount: Int): Unit
def drawLayer(cloneBlankDisplayObjects: => Dictionary[DisplayObject], displayEntities: => Array[DisplayEntity], frameBufferComponents: FrameBufferComponents, clearColor: RGBA, customShaders: => Dictionary[WebGLProgram]): Unit
def requiresContextChange(d: DisplayObject, atlasName: Option[AtlasId], currentShader: ShaderId, currentUniformHash: Array[String]): Boolean
def setupInstanceArray(buffer: WebGLBuffer, location: Int, size: Int): Unit
def setupShader(program: WebGLProgram): Unit