コード例 #1
0
        public void Render()
        {
            FbRenderer.Render();

            for (int Index = 0; Index < VertexBuffers.Count; Index++)
            {
                VertexBuffer Vb = VertexBuffers[Index];

                if (Vb.VaoHandle != 0 &&
                    Vb.PrimCount != 0)
                {
                    GL.BindVertexArray(Vb.VaoHandle);
                    GL.DrawArrays(PrimitiveType.TriangleStrip, 0, Vb.PrimCount);
                }
            }
        }
コード例 #2
0
 public void Render()
 {
     FbRenderer.Render();
 }