This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |