Derm.Mesh.Mesh.Surface Class Reference

Mesh surface. More...

Inheritance diagram for Derm.Mesh.Mesh.Surface:
Derm.Render.ShaderAttributes Derm.Render.BaseShaderAttributes Derm.Render.IShaderState

List of all members.

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< Vertex3fColors [get]
 Surface colors array buffer.
ArrayBufferObject< Vertex3fNormals [get]
 Surface normal vectors array buffer.
ArrayBufferObject< Vertex3fVertices [get]
 Surface vertices position array buffer.

Detailed Description

Mesh surface.


Constructor & Destructor Documentation

Derm.Mesh.Mesh.Surface.Surface ( Primitive  vType  ) 

Surface constructor.

Parameters:
vType A Primitive specifying the resulting primitives from rendering this Surface.

Member Function Documentation

void Derm.Mesh.Mesh.Surface.SetColors ( ArrayBufferObject< ColorRGBAf cbo  ) 

Set vertex colors to this Surface.

Parameters:
cbo 
void Derm.Mesh.Mesh.Surface.SetNormals ( ArrayBufferObject< Vertex3f nbo  ) 

Set normal vectors to this Surface.

Parameters:
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.

Parameters:
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.

Parameters:
vbo An ArrayBufferObject<Vertex3f> specifying the surface vertices position.

Property Documentation

ArrayBufferObject<Vertex3f> Derm.Mesh.Mesh.Surface.Colors [get]

Surface colors array buffer.

ArrayBufferObject<Vertex3f> Derm.Mesh.Mesh.Surface.Normals [get]

Surface normal vectors array buffer.

ArrayBufferObject<Vertex3f> Derm.Mesh.Mesh.Surface.Vertices [get]

Surface vertices position array buffer.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads