SpatialSurfaceMeshBuffer 類別

定義

表示頂點、索引或一般緩衝區,該緩衝區會保存使用者周圍表面的網格資料。

public ref class SpatialSurfaceMeshBuffer sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialSurfaceMeshBuffer final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialSurfaceMeshBuffer
Public NotInheritable Class SpatialSurfaceMeshBuffer
繼承
Object Platform::Object IInspectable SpatialSurfaceMeshBuffer
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

屬性

Data

包含網格資料的記憶體緩衝區。

ElementCount

取得緩衝區中的專案數目。

Format

取得建立 GPU 緩衝區以保存此網格資料或解譯網格元素時所要使用的 DXGI 格式。 此列舉值可以重新解譯為DXGI_FORMAT值。

Stride

取得緩衝區中每個專案開頭之間的大小,以位元組為單位。

適用於

另請參閱