Vertex Element

Describes a Vertex Element within a Sequential Vertex Structure.

예제 #1
0
 public VertexBuffer(Device device, VertexElement element, BufferUsage usage) : this(device, new VertexDeclaration(new VertexElement[] { element }), usage)
 {
 }
예제 #2
0
        public VertexDeclaration(VertexElement[] elements)  
        {
            this.elements = new List<VertexElement>();

            this.elements.AddRange(elements);
        }