SpatialSurfaceMeshBuffer SpatialSurfaceMeshBuffer SpatialSurfaceMeshBuffer SpatialSurfaceMeshBuffer Class

Definition

Represents a vertex, index, or normal buffer that holds mesh data for surfaces in the user's surroundings.

public : sealed class SpatialSurfaceMeshBuffer : ISpatialSurfaceMeshBufferpublic sealed class SpatialSurfaceMeshBuffer : ISpatialSurfaceMeshBufferPublic NotInheritable Class SpatialSurfaceMeshBuffer Implements ISpatialSurfaceMeshBuffer// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Properties

Data Data Data Data

The memory buffer containing the mesh data.

public : IBuffer Data { get; }public IBuffer Data { get; }Public ReadOnly Property Data As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The data.

ElementCount ElementCount ElementCount ElementCount

Gets the number of elements in the buffer.

public : unsigned int ElementCount { get; }public uint ElementCount { get; }Public ReadOnly Property ElementCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The element count.

Format Format Format Format

Gets the DXGI format to use when creating a GPU buffer to hold this mesh data or when otherwise interpreting the mesh elements. This enum value can be reinterpreted as a DXGI_FORMAT value.

public : DirectXPixelFormat Format { get; }public DirectXPixelFormat Format { get; }Public ReadOnly Property Format As DirectXPixelFormat// You can use this property in JavaScript.

Stride Stride Stride Stride

Gets the size, in bytes, between the start of each element in the buffer.

public : unsigned int Stride { get; }public uint Stride { get; }Public ReadOnly Property Stride As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The stride.