Inheritance: IDisposable
コード例 #1
0
        private void InitVBOs()
        {
            UsingVertexBuffers = true;
            VertexBuffers      = new QVertexBuffer[fontData.Pages.Length];

            for (int i = 0; i < VertexBuffers.Length; i++)
            {
                int textureID = fontData.Pages[i].GLTexID;
                VertexBuffers[i] = new QVertexBuffer(textureID);
            }
        }
コード例 #2
0
ファイル: QFont.cs プロジェクト: swax/QuickFont
        private void InitVBOs()
        {
            UsingVertexBuffers = true;
            VertexBuffers = new QVertexBuffer[fontData.Pages.Length];

            for (int i = 0; i < VertexBuffers.Length; i++)
            {
                int textureID = fontData.Pages[i].GLTexID;
                VertexBuffers[i] = new QVertexBuffer(textureID);
            }
        }