GlRect

Created by svennahler on 22.02.17.

class GlRect : GlShape

Constructors

GlRect
Link copied to clipboard
fun GlRect()
GlRect
Link copied to clipboard
fun GlRect(hasStaticData: Boolean)
GlRect
Link copied to clipboard
fun GlRect(verticesData: FloatArray, hasStaticData: Boolean)
GlRect
Link copied to clipboard
fun GlRect(verticesData: FloatArray, textureData: FloatArray, hasStaticData: Boolean)

Functions

attach
Link copied to clipboard
open override fun attach()
attachBuffer
Link copied to clipboard
override fun attachBuffer()
disable
Link copied to clipboard
open override fun disable()
draw
Link copied to clipboard
fun draw(): <ERROR CLASS>
drawWith
Link copied to clipboard
inline fun <T : GlProgram> drawWith(program: T, block: (T) -> Unit)
enable
Link copied to clipboard
open override fun enable(program: GlProgram)
inline override fun <T : GlProgram> enable(program: T, block: (T) -> Unit)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
freeUp
Link copied to clipboard
override fun freeUp(sync: Boolean)
hashCode
Link copied to clipboard
open override fun hashCode(): Int
queueDestroy
Link copied to clipboard
override fun queueDestroy(sync: Boolean)
queueRebound
Link copied to clipboard
override fun queueRebound()
reboundGlContext
Link copied to clipboard
override fun reboundGlContext(newContext: GlThreadRunner)
releaseGlContext
Link copied to clipboard
override fun releaseGlContext()
runWith
Link copied to clipboard
inline fun <T : GlProgram> runWith(program: T, block: (T) -> Unit)
setShape
Link copied to clipboard
fun setShape(rect: <ERROR CLASS>, transformation: <ERROR CLASS>?, contextRect: <ERROR CLASS>, destinationFlip: Boolean)
fun setShape(rect: <ERROR CLASS>, transformation: <ERROR CLASS>?, contextWidth: Int, contextHeight: Int)
setShapeInViewport
Link copied to clipboard
fun setShapeInViewport(rect: <ERROR CLASS>, transformation: <ERROR CLASS>?)
setTexture
Link copied to clipboard
fun setTexture(tileRect: <ERROR CLASS>, transformation: <ERROR CLASS>?, contextWidth: Int, contextHeight: Int, sourceRotation: Int, destinationRotation: Float)
toString
Link copied to clipboard
open override fun toString(): String
updateFloatBuffer
Link copied to clipboard
override fun updateFloatBuffer(data: FloatArray)
override fun updateFloatBuffer(dataShapePos: FloatArray, dataTexturePos: FloatArray)
updateVerticesData
Link copied to clipboard
open override fun updateVerticesData(verticesData: FloatArray)
open override fun updateVerticesData(shapePos: FloatArray, texturePos: FloatArray)

Properties

attributePositions
Link copied to clipboard
override var attributePositions: Int
attributeTextureCoordinates
Link copied to clipboard
override var attributeTextureCoordinates: Int
dataLength
Link copied to clipboard
override var dataLength: Int
glContext
Link copied to clipboard
override var glContext: GlThreadRunner
handle
Link copied to clipboard
override var handle: Int
hasChainedOrder
Link copied to clipboard
override var hasChainedOrder: Boolean
hasStaticData
Link copied to clipboard
override val hasStaticData: Boolean
vertexBufferSizeInvalid
Link copied to clipboard
override var vertexBufferSizeInvalid: Boolean
verticesDataBuffer
Link copied to clipboard
override var verticesDataBuffer: FloatBuffer?