VertexDeclaration.FromGeometry

VertexDeclaration.FromGeometry method

Create a VertexDeclaration based on a Geometry’s layout.

public static VertexDeclaration FromGeometry(Geometry geometry, bool useFloat)
ParameterTypeDescription
geometryGeometry
useFloatBooleanUse float instead of double type

See Also