WaveEngine.Components.Toolkit.TextComponent.CreateMesh C# (CSharp) Méthode

CreateMesh() private méthode

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