Skip to content

Instantly share code, notes, and snippets.

View AbhiramVAnand's full-sized avatar

Abhiram V AbhiramVAnand

  • India
View GitHub Profile
abstract class AbstractRender(context: Context) {
private var mFragmentShader: Int = 0
private var mVertexShader: Int = 0
private var mContext: Context? = null
private var mStMatrixHandle = 0
private var mMVPMatrixHandle = 0
protected var mWidth: Int = 0
protected var mHeight: Int = 0
protected var mProgram: Int = 0
protected var mPositionLocation = 0