Init() public method

public Init ( ) : void
return void
Beispiel #1
0
        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;
        }