Init() public method

public Init ( ) : void
return void
コード例 #1
0
ファイル: GLRenderer.cs プロジェクト: swax/CodePerspective
        private VertexBuffer GetLineVbo(Dictionary<int, VertexBuffer> widthMap, int width)
        {
            VertexBuffer vbo;
            if (!widthMap.TryGetValue(width, out vbo))
            {
                vbo = new VertexBuffer();
                vbo.Init();
                widthMap[width] = vbo;
            }

            return vbo;
        }