Microsoft DirectX 9.0 SDK Update (October 2004)

AllocateHierarchy.CreateMeshContainer Method

Language:

Note: This documentation is preliminary and is subject to change.

Requests allocation of a MeshContainer object.

Definition

Visual Basic .NET MustOverride Public Function CreateMeshContainer( _
    ByVal name As String, _
    ByVal meshData As MeshData, _
    ByVal materials() As ExtendedMaterial, _
    ByVal effectInstances() As EffectInstance, _
    ByVal adjacency As GraphicsStream, _
    ByVal skinInfo As SkinInformation _
) As MeshContainer
C# public abstract MeshContainer CreateMeshContainer(
    string name,
    MeshData meshData,
    ExtendedMaterial[] materials,
    EffectInstance[] effectInstances,
    GraphicsStream adjacency,
    SkinInformation skinInfo
);
Managed C++ public: virtual MeshContainer* CreateMeshContainer(
    String *name,
    MeshData meshData,
    ExtendedMaterial materials __gc[],
    EffectInstance effectInstances __gc[],
    GraphicsStream *adjacency,
    SkinInformation *skinInfo
) = 0;
JScript .NET public abstract function CreateMeshContainer(
    name : String,
    meshData : MeshData,
    materials : ExtendedMaterial[],
    effectInstances : EffectInstance[],
    adjacency : GraphicsStream,
    skinInfo : SkinInformation
) : MeshContainer;

Parameters

name System.String. String that represents the name of the mesh.
meshData Microsoft.DirectX.Direct3D.MeshData. Reference to a MeshData structure.
materials Microsoft.DirectX.Direct3D.ExtendedMaterial[]. Array of ExtendedMaterial structures used in the mesh.
effectInstances Microsoft.DirectX.Direct3D.EffectInstance[]. Array of EffectInstance structures used in the mesh.
adjacency Microsoft.DirectX.GraphicsStream. Array of GraphicsStream objects that represent an adjacency array for the mesh.
skinInfo Microsoft.DirectX.Direct3D.SkinInformation. Reference to the SkinInformation object, if skin data is found.

Return Value

Microsoft.DirectX.Direct3D.MeshContainer . Created MeshContainer.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center