TextureUtils

org.nlogo.gl.render.TextureUtils
object TextureUtils

Attributes

Source
TextureUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def calculateTextureSize(gl: GL2, width: Int, height: Int): Int

Attributes

Source
TextureUtils.scala
def createTileArray(width: Int, height: Int, textureSize: Int): Array[Array[Byte]]

Attributes

Source
TextureUtils.scala
def genTexture(gl: GL2): Int

Attributes

Source
TextureUtils.scala
def makeTexture(gl: GL2, size: Int): Unit

Attributes

Source
TextureUtils.scala
def renderEmptyPlane(gl: GL2, _sideX: Float, _sideY: Float, _sideZ: Float): Unit

Attributes

Source
TextureUtils.scala
def renderInPlane(gl: GL2, _sideX: Float, _sideY: Float, _sideZ: Float, width: Float, height: Float, size: Float, offsetX: Float, offsetY: Float): Unit

Attributes

Source
TextureUtils.scala
def reuseTexture(gl: GL2, tileWidth: Int, tileHeight: Int, xOffset: Int, yOffset: Int, width: Int, colors: Array[Int], _bytes: Array[Byte]): Array[Byte]

Attributes

Source
TextureUtils.scala
def setParameters(gl: GL2): Unit

Attributes

Source
TextureUtils.scala