interface IDataType

An interface representing a data type in the Max environment.

syntax:
public interface IDataType

Properties

DataPointer

Pointer to the data.

syntax:
IntPtr DataPointer { get; }

DataLength

Length of the data in array elements, as a ulong.

syntax:
ulong DataLength { get; }

Length

Length of the data in array elements.

syntax:
int Length { get; }

Alignment

Alignment of the data.

syntax:
ulong Alignment { get; }

Methods

InstanceCreate(ulong length)

Creates an instance of this datatype, of a certain length.

syntax:
IDataType InstanceCreate(ulong length);

Parameters

Type Name Description
ulong length Length

Returns: Instance (Type )

SetData(IDataType Data)

Sets the data in this datatype to be the same as a different datatype.

syntax:
void SetData(IDataType Data);

Parameters

Type Name Description
IDataType Data Data