VertexElementContainer
Declaration
public class Strawberry.Graphics.VertexElementContainer
Represents a container for vertex element layouts used by shaders.
Constructors
VertexElementContainer
void VertexElementContainer()
Properties
Elements
Dictionary<string, ElementFormats> Elements { get }
Size
int Size { get }
VertexPositionTexColor static
VertexElementContainer VertexPositionTexColor { get }
VertexPositionColor static
VertexElementContainer VertexPositionColor { get }
Methods
Add
Adds a vertex element to the container.
void Add(string name, ElementFormats format)
Parameters:
| Name | Type | Description |
|---|---|---|
name |
System.String |
The name of the vertex element |
format |
Strawberry.Graphics.ElementFormats |
The format of the vertex element |