DefaultEntityIdProvider Class

An IEntityIdProvider encodes into a single System.UInt32 a unique ID to identify a mesh and a vertex.

This means there is a maximum count of 4 Billion vertices in the scene, but the UInt32 must be split into two parts System.UInt32 VertexID and System.UInt32 Entity (Mesh ID).

The EntityIdprovider accepts integer entity/vertex ID and encodes into a single VertexId struct. It can also decode from VertexId back into Mesh and Vertex ID.

The DefaultEntityIdProvider encodes with a schema of 10-bits for EntityId and 22-bits for VertexId. This means the 3D scene can have a maximum of 1024 meshes, and each mesh can have a maximum of 4 million vertices

public class DefaultEntityIdProvider : IEntityIdProvider  
Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also