Public Member Functions | |
Surface (Primitive vType) | |
Surface constructor. | |
void | SetColors (ArrayBufferObject< ColorRGBAf > cbo) |
Set vertex colors to this Surface. | |
void | SetNormals (ArrayBufferObject< Vertex3f > nbo) |
Set normal vectors to this Surface. | |
void | SetVertices (ArrayBufferObject< Vertex3f > vbo, ElementBufferObject< uint > ibo) |
Set surface vertices and indices. | |
void | SetVertices (ArrayBufferObject< Vertex3f > vbo) |
Set surface vertices. | |
Properties | |
ArrayBufferObject< Vertex3f > | Colors [get] |
Surface colors array buffer. | |
ArrayBufferObject< Vertex3f > | Normals [get] |
Surface normal vectors array buffer. | |
ArrayBufferObject< Vertex3f > | Vertices [get] |
Surface vertices position array buffer. |
Mesh surface.
Derm.Mesh.Mesh.Surface.Surface | ( | Primitive | vType | ) |
void Derm.Mesh.Mesh.Surface.SetColors | ( | ArrayBufferObject< ColorRGBAf > | cbo | ) |
Set vertex colors to this Surface.
cbo |
void Derm.Mesh.Mesh.Surface.SetNormals | ( | ArrayBufferObject< Vertex3f > | nbo | ) |
Set normal vectors to this Surface.
nbo | An ArrayBufferObject<Vertex3f> specifying the surface normal vectors. |
void Derm.Mesh.Mesh.Surface.SetVertices | ( | ArrayBufferObject< Vertex3f > | vbo, | |
ElementBufferObject< uint > | ibo | |||
) |
Set surface vertices and indices.
vbo | An ArrayBufferObject<Vertex3f> specifying the surface vertices position. | |
ibo | An ElementBufferObject<uint> specifying the surface elements indices. |
void Derm.Mesh.Mesh.Surface.SetVertices | ( | ArrayBufferObject< Vertex3f > | vbo | ) |
Set surface vertices.
vbo | An ArrayBufferObject<Vertex3f> specifying the surface vertices position. |
ArrayBufferObject<Vertex3f> Derm.Mesh.Mesh.Surface.Normals [get] |
Surface normal vectors array buffer.