Exemple #1
0
        private void Rebind()
        {
            switch (bufferType)
            {
            case BufferType.Vertex:
                PlatformRenderer.RebindVertexBuffer(this);
                break;

            case BufferType.Index:
                PlatformRenderer.RebindIndexBuffer(this);
                break;
            }
        }