Delen via


SceneMesh.PrimitiveTopology Property

Definition

Gets or sets a value that indicates how the vertex data is interpreted by the graphics pipeline and rendered on screen.

public:
 property DirectXPrimitiveTopology PrimitiveTopology { DirectXPrimitiveTopology get(); void set(DirectXPrimitiveTopology value); };
DirectXPrimitiveTopology PrimitiveTopology();

void PrimitiveTopology(DirectXPrimitiveTopology value);
public DirectXPrimitiveTopology PrimitiveTopology { get; set; }
var directXPrimitiveTopology = sceneMesh.primitiveTopology;
sceneMesh.primitiveTopology = directXPrimitiveTopology;
Public Property PrimitiveTopology As DirectXPrimitiveTopology

Property Value

A value of the enumeration that indicates how the vertex data is interpreted.

Applies to

See also