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
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.
The format.