+ Bloom effect + PixelInformation + Many Summaries + Add-methods for CVectors + Exposure-Field in GenericCamera for HDR. ~ ColorAttachments now can have PixelInformation ~ Transformed MeshAttributes to a own class ~ Fixed the non-applying of transformations at texts ~ Added more information to the context ~ Improved Pipeline-Process. ~ Changed how Uniform takes arrays - Light system
28 lines
No EOL
652 B
C#
28 lines
No EOL
652 B
C#
namespace SM.OGL.Mesh
|
|
{
|
|
/// <summary>
|
|
/// This represents a attribute of a mesh.
|
|
/// </summary>
|
|
public class MeshAttribute
|
|
{
|
|
/// <summary>
|
|
/// Index of attribute
|
|
/// </summary>
|
|
public int Index;
|
|
/// <summary>
|
|
/// Name of the attribute
|
|
/// </summary>
|
|
public string Name;
|
|
/// <summary>
|
|
/// Connected buffer object.
|
|
/// </summary>
|
|
public VBO ConnectedVBO;
|
|
|
|
public MeshAttribute(int index, string name, VBO buffer)
|
|
{
|
|
Index = index;
|
|
Name = name;
|
|
ConnectedVBO = buffer;
|
|
}
|
|
}
|
|
} |