Esempio n. 1
0
 public void DrawStart(Camera camera)
 {
     vertexBuffer.Enable();
     shaderCamera.Set(camera.TransformMatrix);
     texelOffset.Set(texture.TexelOffset);
     shaderTexture.Set(texture);
     layout.Enable();
     instancing = false;
 }