renderTexture method
Implementation
void renderTexture(WebGLTexture? texture, {Float32List? matrix, bool isFBO = false}){
late final Buffer _vertexBuffer;
if(isFBO) {
_vertexBuffer = vertexBuffer4FBO;
} else {
_vertexBuffer = vertexBuffer;
}
drawTexture(texture: texture, vertexBuffer: _vertexBuffer, matrix: matrix);
}