MDLMeshBufferData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides storage for vertex and index data for a MDLMesh object.
[Foundation.Register("MDLMeshBufferData", true)]
public class MDLMeshBufferData : Foundation.NSObject, IDisposable, ModelIO.IMDLMeshBuffer
[<Foundation.Register("MDLMeshBufferData", true)>]
type MDLMeshBufferData = class
inherit NSObject
interface IMDLMeshBuffer
interface INativeObject
interface IDisposable
interface INSCopying
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MDLMeshBufferData() |
Creates a new MDLMeshBufferData with default values. |
| MDLMeshBufferData(MDLMeshBufferType, NSData) |
Creates a new mesh buffer that contains the specified data. |
| MDLMeshBufferData(MDLMeshBufferType, UIntPtr) |
Creates a new mesh buffer of the specified size in bytes and the specified type. |
| MDLMeshBufferData(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| MDLMeshBufferData(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Allocator |
Gets the allocator that is used to allocate memory for the mesh buffer. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Data |
Gets an NSData object that contains the data. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Length |
Gets the length of the buffer, in bytes. |
| Map |
Gets a mesh buffer map that provides read-only access to the data in the buffer. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Type |
Gets a value that indicates whether the buffer contains indices or vertices. |
| Zone |
Gets the memory pool that the buffer occupies. |