[][src]Module rg3d::renderer::surface

For efficient rendering each mesh is split into sets of triangles that uses same texture, such sets are called surfaces.

Surfaces can use same data source across many instances, this is memory optimization for to be able to re-use data when you need to draw same mesh in many places.

Structs

Surface

See module docs.

SurfaceBuilder

Surface builder allows you to create surfaces in declarative manner.

SurfaceSharedData

Data source of a surface. Each surface can share same data source, this is used in instancing technique to render multiple instances of same model at different places.

Vertex

Vertex for each mesh in engine.

VertexWeight

Vertex weight is a pair of (bone; weight) that affects vertex.

VertexWeightSet

Weight set contains up to four pairs of (bone; weight).