SceneMesh.PrimitiveTopology 属性

定义

获取或设置一个值,该值指示图形管道如何解释顶点数据以及如何在屏幕上呈现。

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

属性值

枚举的值,指示如何解释顶点数据。

适用于

另请参阅