WaveEngine.Components.Toolkit.TextComponent.CreateMesh C# (CSharp) Method

CreateMesh() private method

Creates the mesh.
private CreateMesh ( ) : Mesh
return Mesh
        private Mesh CreateMesh()
        {
            return new Mesh(
                0,
                BUFFERLENGTH,
                0,
                MAXCHARS * CHARTRIANGLES,
                new DynamicVertexBuffer(VertexPositionNormalTexture.VertexFormat),
                this.indexBuffer,
                PrimitiveType.TriangleList)
            {
                DisableBatch = true
            };
        }