<summary>This object is derived by the application to allocate/free frame and mesh container objects. Methods on this are called during loading and destroying frame hierarchies.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.AnimationController.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Retrieves a description of a specified animation event.</summary>
<param name="eventHandle">[in] Event handle to the animation event to describe.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/eventdescription/eventdescription.xml">EventDescription</A> structure that contains a description of the animation event.</returns>
<summary>Sets blending event keys for the specified animation track.</summary>
<param name="newBlendWeight">[in] Number between 0 and 1 that is used to blend tracks.</param>
<param name="startTime">[in] Global time at which to start the blend.</param>
<param name="duration">[in] Global time duration of the blend.</param>
<param name="method">[in] Transition type used for the duration of the blend. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/transitiontype/transitiontype.xml">TransitionType</A>.</param>
<returns>Handle to the priority blend event. If one or more of the input parameters is invalid, or if no free event is available, a value of 0 is returned.</returns>
<summary>Sets an event key that changes the local time of an animation track.</summary>
<param name="track">[in] Identifier of the track to modify.</param>
<param name="newSpeed">[in] New speed of the animation track.</param>
<param name="startTime">[in] Global time key that specifies the global time at which the change will occur.</param>
<param name="duration">[in] Transition time, which specifies how long the smooth transition will take to complete.</param>
<param name="method">[in] Transition type used for transitioning between speeds. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/transitiontype/transitiontype.xml">TransitionType</A>.</param>
<returns>Event handle to the priority blend event. If one or more of the input parameters is invalid, or if no free event is available, a value of 0 is returned.</returns>
<summary>Sets an event key that changes the weight of an animation track.</summary>
<param name="track">[in] Identifier of the track to modify.</param>
<param name="newWeight">[in] New weight of the track.</param>
<param name="startTime">[in] Global time key that specifies the global time at which the change will occur.</param>
<param name="duration">[in] Transition time, which specifies how long the smooth transition will take to complete.</param>
<param name="method">[in] Transition type used for transitioning between weights. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/transitiontype/transitiontype.xml">TransitionType</A>.</param>
<returns>Event handle to the priority blend event. If one or more of the input parameters is invalid, or if no free event is available, a value of 0 is returned.</returns>
<summary>Raises a <see cref="E:Microsoft.DirectX.Direct3D.AnimationController.Disposing" /> event.</summary>
<param name="i1">The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that is sending the event.</param>
<summary>Adds an animation output to the animation controller and registers pointers for scale, rotate, and translate (SRT) transformations.</summary>
<param name="name">[in] Name of the animation output.</param>
<param name="matrix">[in] A <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A> structure that contains SRT transformation data. Can be 0.</param>
<param name="scale">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> vector that describes the scale of the animation set. Can be 0.</param>
<param name="rotation">[in] Pointer to a <A href="/directx/ref/ns/microsoft.directx/s/quaternion/quaternion.xml">Quaternion</A> that describes the rotation of the animation set. Can be 0.</param>
<param name="translation">[in] Pointer to a <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> vector that describes the translation of the animation set. Can be 0.</param>
<summary>Adds an animation set to the animation controller.</summary>
<param name="animationSet">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationset/animationset.xml">AnimationSet</A> to add.</param>
<summary>Applies the animation set to the specified track.</summary>
<param name="track">[in] Identifier of the track to which the animation set is applied.</param>
<param name="animationSet">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationset/animationset.xml">AnimationSet</A> to add to the track.</param>
<param name="enable">[in] <b>Boolean</b> value that specifies whether the track is enabled in the controller (<b>true</b>) or should not be mixed (<b>false</b>).</param>
<param name="priority">[in] Track priority; should be set to one of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/prioritytype/prioritytype.xml">PriorityType</A> constants.</param>
<param name="speed">[in] Track priority; should be set to one of the constants from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/prioritytype/prioritytype.xml">PriorityType</A>.</param>
<summary>Removes an animation set from the animation controller.</summary>
<param name="animationSet">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationset/animationset.xml">AnimationSet</A> to remove.</param>
<summary>Encapsulates the minimum functionality required of an animation set by an animation controller. Advanced users might want to implement this class themselves to suit their specialized needs. For most users, however, the derived <see cref="T:Microsoft.DirectX.Direct3D.CompressedAnimationSet" /> and <see cref="T:Microsoft.DirectX.Direct3D.KeyframedAnimationSet" /> classes should suffice.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.AnimationSet.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Retrieves the index of an animation, given its name.</summary>
<param name="name">[in] Animation name.</param>
<returns>Returns the index of the named animation; otherwise, throws a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/direct3dxexception/direct3dxexception.xml">Direct3DXException</A>.</returns>
<summary>Retrieves the name of an animation, given its index.</summary>
<param name="index">[in] Animation index.</param>
<returns>Returns a string that contains the animation name; otherwise, throws a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/direct3dxexception/direct3dxexception.xml">Direct3DXException</A>.</returns>
<summary>Retrieves information about a specific callback in an animation set.</summary>
<param name="position">[in] Position from which to find callbacks.</param>
<param name="flags">[in] Callback search flags. This parameter can be set to one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/callbacksearchflags/callbacksearchflags.xml">CallbackSearchFlags</A> constants.</param>
<returns>This method's return values are implemented by an application programmer. In general, if no error occurs, the method should return an empty structure; otherwise, it should throw an exception. For more information, see <A href="/directx/ref/ns/microsoft.directx/c/directxexception/directxexception.xml">DirectXException</A>.</returns>
<summary>Retrieves the scale, rotate, and translate (SRT) values of an animation set.</summary>
<param name="periodicPosition">[in] Position of the animation set; can be obtained by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationset/m/getperiodicposition.xml">GetPeriodicPosition</A>.</param>
<returns>Returns a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/scalerotatetranslate/scalerotatetranslate.xml">ScaleRotateTranslate</A> structure.</returns>
<summary>Raises an <see cref="T:Microsoft.DirectX.Direct3D.AnimationSet" />.<see cref="E:Microsoft.DirectX.Direct3D.AnimationSet.Disposing" /> event when called from within a derived class. This method is a protected member.</summary>
<param name="i1">Invoking object reference. Should be the current object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.BaseEffect.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.BaseMesh.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Clones, or copies, a mesh object.</summary>
<param name="options">[in] Mesh creation options, as specified with one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags, which should not be used for this purpose).</param>
<param name="declaration">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the mesh data to duplicate.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<summary>Clones, or copies, a mesh object.</summary>
<param name="options">[in] Mesh creation options, as specified with one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags, which should not be used for this purpose).</param>
<param name="declaration">[in] Vertex data, as defined with an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<summary>Clones, or copies, a mesh object.</summary>
<param name="options">[in] Mesh creation options, as specified with one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags, which should not be used for this purpose).</param>
<param name="vertexFormat">[in] Mesh vertex format, as specified with one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> flags.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<summary>Computes normals for each vertex in a mesh.</summary>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face, which specify the three neighbors for each face in the mesh.</param>
<summary>Computes normals for each vertex in a mesh.</summary>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face, which specify the three neighbors for each face in the mesh.</param>
<summary>Converts mesh adjacency information to an array of point representatives.</summary>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face, which specify the three neighbors for each face in the mesh.</param>
<returns>Array that contains one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> per vertex of the mesh that is filled with point representative data.</returns>
<summary>Converts mesh adjacency information to an array of point representatives.</summary>
<param name="adjaceny">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face, which specify the three neighbors for each face in the mesh.</param>
<returns>Array that contains one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> per vertex of the mesh that is filled with point representative data.</returns>
<summary>Converts point representative data to mesh adjacency information.</summary>
<param name="pointReps">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> per vertex of the mesh that represents point representative data. This parameter is optional; supplying a value of 0 causes it to be interpreted as an "identity" array.</param>
<returns>Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face, which specify the three neighbors for each face in the mesh.</returns>
<summary>Converts point representative data to mesh adjacency information.</summary>
<param name="pointReps">[in] Array that contains one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> per vertex of the mesh that contains point representative data. This parameter is optional; supplying a value of 0 causes it to be interpreted as an "identity" array.</param>
<returns>Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face, which specify the three neighbors for each face in the mesh.</returns>
<param name="attributeID">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that specifies which subset of the mesh to draw. This value is used to differentiate faces in a mesh as belonging to one or more attribute groups.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Generates adjacency information based on mesh indices.</summary>
<param name="epsilon">[in] Specifies that vertices that differ in position by less than epsilon should be treated as coincident.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face to be filled with adjacent face indices. The size of this array must be at least 3 * <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/p/numberfaces.xml">BaseMesh.NumberFaces</A>.</param>
<summary>Retrieves an attribute table for a mesh.</summary>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributerange/attributerange.xml">AttributeRange</A> structures, which represent each entry in the attribute table.</returns>
<summary>Locks an index buffer and obtains the index buffer data.</summary>
<param name="typeIndex">A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemTypeClassTopic.asp">Type</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that indicates the type of array data to return. This can be a value type or any type that contains only value types.</param>
<param name="flags">[in] Combination of zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<param name="ranks">[in] Array of one to three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values that indicate the dimensions of the returning <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" />.</param>
<returns>An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that represents the locked index buffer.</returns>
<summary>Locks an index buffer and obtains the index buffer data.</summary>
<param name="flags">[in] Combination of zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents the locked index buffer.</returns>
<summary>Locks a vertex buffer and obtains a pointer to the vertex buffer memory.</summary>
<param name="flags">[in] Combination of zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoOverWrite">NoOverWrite</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents the locked vertex buffer.</returns>
<summary>Locks a vertex buffer and obtains a pointer to the vertex buffer memory.</summary>
<param name="typeVertex">A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemTypeClassTopic.asp">Type</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that indicates the type of array data to return. This can be a value type or any type that contains only value types.</param>
<param name="flags">[in] Combination of zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoOverWrite">NoOverWrite</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<param name="ranks">[in] Array of one to three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values that indicate the dimensions of the returning <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" />.</param>
<returns>An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that represents the locked vertex buffer.</returns>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.BaseMesh" />.<see cref="E:Microsoft.DirectX.Direct3D.BaseMesh.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<param name="data">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the data to copy into the index buffer. This can be any value type or array of value types. The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> and <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt16ClassTopic.asp">Int16</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values are commonly used.</param>
<param name="flags">[in] Combination of zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform when setting the data. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<param name="data">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the data to copy into the vertex buffer. This can be any value type or array of value types. The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> and <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt16ClassTopic.asp">Int16</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values are commonly used.</param>
<param name="flags">[in] Combination of zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform when setting the data. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<summary>Allows the user to change the mesh declaration without changing the data layout of the vertex buffer. The call is valid only if the old and new declaration formats have the same vertex size.</summary>
<param name="declaration">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the vertex format of the mesh vertices.</param>
<summary>Allows the user to change the mesh declaration without changing the data layout of the vertex buffer. The call is valid only if the old and new declaration formats have the same vertex size.</summary>
<param name="declaration">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the vertex format of the mesh vertices.</param>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.CompressedAnimationSet.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Creates a <see cref="T:Microsoft.DirectX.Direct3D.CompressedAnimationSet" /> object that stores key-frame data in a compressed format.</summary>
<param name="name">[in] Animation set name.</param>
<param name="ticksPerSecond">[in] Number of key-frame ticks that elapse per second.</param>
<param name="playback">[in] Type of the animation set playback loop. See <A href="/directx/ref/ns/microsoft.directx.direct3d/e/playbacktype/playbacktype.xml">PlaybackType</A>.</param>
<param name="compressedData">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the animation set graphics data.</param>
<param name="callbackKeys">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keycallback/keycallback.xml">KeyCallback</A> objects that store user callback data.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Fills an array with callback key data that is used for keyframe animation.</summary>
<returns>[out] Returns an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keycallback/keycallback.xml">KeyCallback</A> objects filled with callback data.</returns>
<summary>The ConstantTable object is used to access the constant table. This table contains the variables that are used by high-level language shaders and effects.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.ConstantTable.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>The Effect object is used to set and query effects, and to choose techniques. An effect object can contain multiple techniques to render the same effect.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.Effect.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs after the <see cref="T:Microsoft.DirectX.Direct3D.Effect" />.<see cref="M:Microsoft.DirectX.Direct3D.Effect.OnResetDevice" /> method is called or after the <see cref="T:Microsoft.DirectX.Direct3D.Device" /> is reset.</summary>
<summary>Should be called after the device has been reset and before any other methods are called, if <see cref="F:Microsoft.DirectX.Direct3D.Device.IsUsingEventHandlers.Device.IsUsingEventHandlers" /> is set to false.</summary>
<summary>Occurs when the Dispose method has been called or when the object has been finalized and collected by the .NET runtime's garbage collector.</summary>
<summary>Occurs when the Dispose method has been called or when the object has been finalized and collected by the .NET runtime's garbage collector.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.Font.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs after the <see cref="M:Microsoft.DirectX.Direct3D.Font.OnResetDevice" /> method is called or after the <see cref="T:Microsoft.DirectX.Direct3D.Device" /> is reset.</summary>
<summary>Creates a new instance of a <see cref="M:Microsoft.DirectX.Direct3D.Font.#ctor" /> class.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the font object.</param>
<summary>Creates a new instance of a <see cref="M:Microsoft.DirectX.Direct3D.Font.#ctor" /> class.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the font object.</param>
<param name="description">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/fontdescription/fontdescription.xml">FontDescription</A> structure.</param>
<summary>Creates a new instance of a <see cref="M:Microsoft.DirectX.Direct3D.Font.#ctor" /> class.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the font object.</param>
<param name="height">[in] Height of the font.</param>
<param name="width">[in] Width of the font.</param>
<param name="weight">[in] Weight of the font.</param>
<param name="miplevels">[in] Number of mip levels.</param>
<param name="italic">[in] Value that indicates whether the font is in italics. If set to <b>true</b>, the font is italicized; if set to <b>false</b>, it is not.</param>
<param name="charset">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/characterset/characterset.xml">CharacterSet</A> enumerated value that indicates the type of characters to use.</param>
<param name="outputPrecision">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/precision/precision.xml">Precision</A> constant that indicates the font precision.</param>
<param name="quality">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/fontquality/fontquality.xml">FontQuality</A> value that indicates the quality of the font.</param>
<param name="pitchFamily">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pitchandfamily/pitchandfamily.xml">PitchAndFamily</A> value that indicates the font pitch and family.</param>
<param name="faceName">[in] A string that indicates the name of the font.</param>
<param name="sprite">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/sprite/sprite.xml">Sprite</A> object that contains the string. Can be <b>null</b>, in which case Microsoft® Direct3D® renders the string with its own sprite object. <P>If <B>Font.DrawText</B> will be called more than once in a row, a sprite object should be specified to improve efficiency.</P></param>
<param name="text">[in] String to draw.</param>
<param name="rect">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleClassTopic.asp">Rectangle</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> structure that contains the rectangle, in logical coordinates, in which the text is being formatted.</param>
<param name="format">[in] Method of formatting the text; can be any combination of values from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/drawtextformat/drawtextformat.xml">DrawTextFormat</A> enumeration.</param>
<param name="color">[in] Color of the text. For more information, see <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingColorClassTopic.asp">Color</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" />. Either this parameter or <B>color</B> must be specified, but not both.</param>
<returns>If the function succeeds, the return value is the height of the text in logical units. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/drawtextformat/drawtextformat.xml#Center">Center</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/drawtextformat/drawtextformat.xml#Bottom">Bottom</A> is specified, the return value is the offset from the <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleMembersTopic.asp">Rectangle.Top</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> property to the bottom of the drawn text. If the function fails, the return value is 0.</returns>
<param name="sprite">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/sprite/sprite.xml">Sprite</A> object that contains the string. Can be <b>null</b>, in which case Microsoft® Direct3D® renders the string with its own sprite object. <P>If <B>Font.DrawText</B> will be called more than once in a row, a sprite object should be specified to improve efficiency.</P></param>
<param name="text">[in] String to draw.</param>
<param name="rect">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleClassTopic.asp">Rectangle</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> structure that contains the rectangle, in logical coordinates, in which the text is being formatted.</param>
<param name="format">[in] Method of formatting the text; can be any combination of values from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/drawtextformat/drawtextformat.xml">DrawTextFormat</A> enumeration.</param>
<param name="color">[in] Integer color value. Either this value or <B>color</B> must be specified, but not both.</param>
<returns>If the function succeeds, the return value is the height of the text in logical units. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/drawtextformat/drawtextformat.xml#Center">Center</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/drawtextformat/drawtextformat.xml#Bottom">Bottom</A> is specified, the return value is the offset from the <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleMembersTopic.asp">Rectangle.Top</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> property to the bottom of the drawn text. If the function fails, the return value is 0.</returns>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<param name="blackBox">[out] Smallest <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleClassTopic.asp">Rectangle</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that completely encloses the glyph (its black box).</param>
<param name="cellInc">[out] A <A href="/directx/ref/ns/microsoft.directx/s/vector2/vector2.xml">Vector2</A> structure that connects the origin of the current character cell to the origin of the next character cell.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that contains the glyph.</returns>
<summary>Should be called after the device is reset and before any other methods are called, if <see cref="F:Microsoft.DirectX.Direct3D.Device.IsUsingEventHandlers.Device.IsUsingEventHandlers" /> is set to false.</summary>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Font" />.<see cref="E:Microsoft.DirectX.Direct3D.Font.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Font" />.<see cref="E:Microsoft.DirectX.Direct3D.Font.Lost" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Font" />.<see cref="E:Microsoft.DirectX.Direct3D.Font.Reset" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Occurs when the Dispose method has been called or when the object has been finalized and collected by the .NET runtime's garbage collector.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.KeyframedAnimationSet.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Transforms animations in an animation set into a compressed format and returns the compressed data.</summary>
<param name="flags">[in] One of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/compressionflags/compressionflags.xml">CompressionFlags</A> values that define the compression mode used for storing compressed animation set data.</param>
<param name="lossiness">[in] Desired compression loss ratio, in the range of 0 to 1.</param>
<param name="hierarchy">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/frame/frame.xml">Frame</A> transformation frame hierarchy. Can be <b>null</b>.</param>
<summary>Creates a <see cref="T:Microsoft.DirectX.Direct3D.KeyframedAnimationSet" />.</summary>
<param name="name">[in] String that contains the name of the animation set.</param>
<param name="ticksPerSecond">[in] Number of key-frame ticks that elapse per second.</param>
<param name="playback">[in] Type of the animation set playback loop. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/playbacktype/playbacktype.xml">PlaybackType</A>.</param>
<param name="numberAnimations">[in] Number of scale, rotate, and translate (SRT) animation sets.</param>
<param name="callbackKeys">[in] Array that contains the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keycallback/keycallback.xml">callback keys</A>.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Fills an array with callback key data used for keyframe animation.</summary>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keycallback/keycallback.xml">KeyCallback</A> structures that contain callback data.</returns>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keyquaternion/keyquaternion.xml">KeyQuaternion</A> structures that contain animation rotation data.</returns>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keyvector3/keyvector3.xml">KeyVector3</A> structures that contain animation scale data.</returns>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keyvector3/keyvector3.xml">KeyVector3</A> structures that contain animation translation data.</returns>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.KeyframedAnimationSet" />.<see cref="E:Microsoft.DirectX.Direct3D.KeyframedAnimationSet.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Registers all of the scale, rotate, and translate (SRT) keyframe data of an animation, and fills arrays with SRT key data used for keyframe animation.</summary>
<param name="animationName">[in] String that contains the animation name.</param>
<param name="scaleKeys">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keyvector3/keyvector3.xml">KeyVector3</A> structures that contain animation scale data.</param>
<param name="rotationKeys">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keyquaternion/keyquaternion.xml">KeyQuaternion</A> structures that contain animation rotation data.</param>
<param name="translationKeys">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keyvector3/keyvector3.xml">KeyVector3</A> structures that contain animation translation data.</param>
<summary>Occurs when the <see cref="E:Microsoft.DirectX.Direct3D.Line.Disposing" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs after the <see cref="M:Microsoft.DirectX.Direct3D.Line.OnResetDevice" /> method is called or after the <see cref="T:Microsoft.DirectX.Direct3D.Line" /> is reset.</summary>
<summary>Uses a left-handed coordinate system to create a line.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created line.</param>
<summary>Draws a line strip in screen space. Input is in the form of an array that defines points (of <see cref="T:Microsoft.DirectX.Vector2" />) on the line strip.</summary>
<param name="vertexList">[in] Array of vertices that make up the line. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector2/vector2.xml">Vector2</A>.</param>
<param name="color">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingColorClassTopic.asp">Color</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that specifies the color of the line.</param>
<summary>Draws a line strip in screen space. Input is in the form of an array that defines points (of <see cref="T:Microsoft.DirectX.Vector2" />) on the line strip.</summary>
<param name="vertexList">[in] Array of vertices that make up the line. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector2/vector2.xml">Vector2</A>.</param>
<param name="color">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> color value that specifies the color of the line.</param>
<summary>Draws a line strip in screen space with a specified input transformation matrix.</summary>
<param name="vertexList">[in] Array of vertices that make up the line. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector2/vector2.xml">Vector2</A>.</param>
<param name="transform">[in] Scale, rotate, and translate (SRT) matrix for transforming the points. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A>. If this matrix is a projection matrix, any stippled lines are drawn with a perspective-correct stippling pattern. Or, vertices can be transformed and <A href="/directx/ref/ns/microsoft.directx.direct3d/c/line/m/draw.xml">Line.Draw</A> used to draw the line with a stipple pattern and no perspective correction.</param>
<param name="color">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingColorClassTopic.asp">Color</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that specifies the color of the line.</param>
<summary>Draws a line strip in screen space with a specified input transformation matrix.</summary>
<param name="vertexList">[in] Array of vertices that make up the line. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector2/vector2.xml">Vector2</A>.</param>
<param name="transform">[in] Scale, rotate, and translate (SRT) matrix for transforming the points. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A>. If this matrix is a projection matrix, any stippled lines are drawn with a perspective-correct stippling pattern. Or, vertices can be transformed and <A href="/directx/ref/ns/microsoft.directx.direct3d/c/line/m/draw.xml">Line.Draw</A> used to draw the line with a stipple pattern and no perspective correction.</param>
<param name="color">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> color value that specifies the color of the line.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Should be called after the device is reset and before any other methods are called, if <see cref="F:Microsoft.DirectX.Direct3D.Device.IsUsingEventHandlers.Device.IsUsingEventHandlers" /> is set to false.</summary>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Line" />.<see cref="E:Microsoft.DirectX.Direct3D.Line.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Line" />.<see cref="E:Microsoft.DirectX.Direct3D.Line.Lost" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Line" />.<see cref="E:Microsoft.DirectX.Direct3D.Line.Reset" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>This object is implemented by the application to allocate/free frame and mesh container objects. Methods on this are called during loading and destroying frame hierarchies.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.Mesh.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Uses a left-handed coordinate system to create a mesh that contains an axis-aligned box.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object.</param>
<param name="width">[in] Width of the box along the x-axis.</param>
<param name="height">[in] Height of the box along the y-axis.</param>
<param name="depth">[in] Depth of the box along the z-axis.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object. When the method returns, this parameter is filled with three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that contains the box.</returns>
<summary>Cleans a mesh, preparing it for simplification.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to clean.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be cleaned.</param>
<param name="adjacencyOut">[out] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the output mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned cleaned mesh. If no cleaning is necessary, the returned mesh is the same as the one that was passed in.</returns>
<summary>Cleans a mesh, preparing it for simplification.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to clean.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be cleaned.</param>
<param name="adjacencyOut">[out] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the output mesh.</param>
<param name="errorsAndWarnings">[out] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains a list of errors and warnings that explain the problems found in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned cleaned mesh. If no cleaning is necessary, the returned mesh is the same as the one that was passed in.</returns>
<summary>Cleans a mesh, preparing it for simplification.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to clean.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object filled with three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be cleaned.</param>
<param name="adjacencyOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object. When the method returns, this parameter is filled with three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the output mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned cleaned mesh. If no cleaning is necessary, the returned mesh is the same as the one that was passed in.</returns>
<summary>Cleans a mesh, preparing it for simplification.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to clean.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object filled with three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be cleaned.</param>
<param name="adjacencyOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object. When the method returns, this parameter is filled with three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the output mesh.</param>
<param name="errorsAndWarnings">[out] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains a list of errors and warnings that explain the problems found in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned cleaned mesh. If no cleaning is necessary, the returned mesh is the same as the one that was passed in.</returns>
<summary>Computes the tangent vectors for the texture coordinates given in a texture stage.</summary>
<param name="texStage">[in] Index that represents the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texturestate/texturestate.xml">TextureState</A> in <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texturestates/texturestates.xml">TextureStates</A>.</param>
<param name="tangentIndex">[in] Index that provides the usage index for the tangent data. The vertex declaration implies the usage; this index modifies it.</param>
<param name="binormIndex">[in] Index that provides the usage index for the binormal data. The vertex declaration implies the usage; this index modifies it.</param>
<param name="wrap">[in] Value that is set to 0 to specify no wrapping, or to 1 to specify wrapping in the <i>u</i> and <i>v</i> directions.</param>
<summary>Computes the tangent vectors for the texture coordinates given in a texture stage.</summary>
<param name="texStage">[in] Index that represents the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texturestate/texturestate.xml">TextureState</A> in <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texturestates/texturestates.xml">TextureStates</A>.</param>
<param name="tangentIndex">[in] Index that provides the usage index for the tangent data. The vertex declaration implies the usage; this index modifies it.</param>
<param name="binormIndex">[in] Index that provides the usage index for the binormal data. The vertex declaration implies the usage; this index modifies it.</param>
<param name="wrap">[in] Value that is set to 0 to specify no wrapping, or to 1 to specify wrapping in the <i>u</i> and <i>v</i> directions.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object filled with an array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face to be filled with adjacent face indices.</param>
<summary>Computes the tangent vectors for the texture coordinates given in a texture stage.</summary>
<param name="texStage">[in] Index that represents the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texturestate/texturestate.xml">TextureState</A> in <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texturestates/texturestates.xml">TextureStates</A>.</param>
<param name="tangentIndex">[in] Index that provides the usage index for the tangent data. The vertex declaration implies the usage; this index modifies it.</param>
<param name="binormIndex">[in] Index that provides the usage index for the binormal data. The vertex declaration implies the usage; this index modifies it.</param>
<param name="wrap">[in] Value that is set to 0 to specify no wrapping, or to 1 to specify wrapping in the <i>u</i> and <i>v</i> directions.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh. The size of this array must be at least 3 * <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/p/numberfaces.xml">BaseMesh.NumberFaces</A>.</param>
<summary>Converts the specified mesh subset into a single triangle strip.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/basemesh.xml">BaseMesh</A> object that represents the mesh to convert.</param>
<param name="attributeIdentifier">[in] Attribute identifier of the mesh subset to convert.</param>
<param name="indexBufferOptions">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify options for creating the single strip mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="numIndices">[out] Number of indices in the buffer returned in the <B>IndexBuffer</B>.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/indexbuffer/indexbuffer.xml">IndexBuffer</A> object that contains the strip.</returns>
<summary>Converts the specified mesh subset into a series of strips.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/basemesh.xml">BaseMesh</A> interface that represents the mesh to convert.</param>
<param name="attributeIdentifier">[in] Attribute identifier of the mesh subset to convert.</param>
<param name="indexBufferOptions">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify options for creating the new strip mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="numIndices">[out] Number of indices in the buffer returned in the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/m/convertmeshsubsettosinglestrip.xml#ret_IndexBuffer">IndexBuffer</A>.</param>
<param name="stripLengths">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value per strip, which specifies the number of triangles in that strip.</param>
<param name="numStrips">[out] Number of individual strips in the index buffer and the corresponding strip length array.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/indexbuffer/indexbuffer.xml">IndexBuffer</A> class that represents the index buffer containing the strip.</returns>
<summary>Creates a new <see cref="T:Microsoft.DirectX.Direct3D.Mesh" /> instance.</summary>
<param name="numFaces">[in] Number of faces for the mesh. The valid range is greater than 0 and one less than the maximum <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> (typically 65534), because the last index is reserved.</param>
<param name="numVertices">[in] Number of vertices for the mesh. This parameter must be greater than 0.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="vertexFormat">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> enumeration that specify the format of the mesh vertices.</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<summary>Creates a new <see cref="T:Microsoft.DirectX.Direct3D.Mesh" /> instance.</summary>
<param name="numFaces">[in] Number of faces for the mesh. The valid range is greater than 0 and one less than the maximum <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> (typically 65534), because the last index is reserved.</param>
<param name="numVertices">[in] Number of vertices for the mesh. This parameter must be greater than 0.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="declaration">A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> enumeration values that specify the format of the mesh vertices.</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<summary>Creates a new <see cref="T:Microsoft.DirectX.Direct3D.Mesh" /> instance.</summary>
<param name="numFaces">[in] Number of faces for the mesh. The valid range is greater than 0 and one less than the maximum <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> (typically 65534), because the last index is reserved.</param>
<param name="numVertices">[in] Number of vertices for the mesh. This parameter must be greater than 0.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="declaration">An array of <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> enumeration values that specify the format of the mesh vertices.</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<summary>Uses a left-handed coordinate system to create a mesh that contains a cylinder.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created cylinder mesh.</param>
<param name="radius1">[in] Radius at the negative Z end. Value should be greater than or equal to 0.0f.</param>
<param name="radius2">[in] Radius at the positive Z end. Value should be greater than or equal to 0.0f.</param>
<param name="length">[in] Length of the cylinder along the z-axis.</param>
<param name="slices">[in] Number of slices around the main axis.</param>
<param name="stacks">[in] Number of stacks along the main axis.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cylinder mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a cylinder.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created cylinder mesh.</param>
<param name="radius1">[in] Radius at the negative Z end. Value should be greater than or equal to 0.0f.</param>
<param name="radius2">[in] Radius at the positive Z end. Value should be greater than or equal to 0.0f.</param>
<param name="length">[in] Length of the cylinder along the z-axis.</param>
<param name="slices">[in] Number of slices around the main axis.</param>
<param name="stacks">[in] Number of stacks along the main axis.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cylinder mesh.</returns>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures. Each <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures. Each <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="materials">[out] Array that contains materials data. The array contains an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/material/material.xml">Material</A> structures, which in turn contain information from the .x file.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures. Each <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="materials">[out] Array that contains materials data. The array contains an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/material/material.xml">Material</A> structures, which in turn contain information from the .x file.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[out] Array that contains materials data. The array contains an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/material/material.xml">Material</A> structures, which in turn contain information from the .x file.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[out] Array that contains materials data. The array contains an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/material/material.xml">Material</A> structures, which in turn contain information from the .x file.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures. Each <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh data.</param>
<param name="readBytes">[in] Size of the file in memory in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Loads a mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that contains the mesh data.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<param name="effects">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the loaded mesh.</returns>
<summary>Determines whether a ray intersects with a mesh.</summary>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Determines whether a ray intersects with a mesh.</summary>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<param name="allHits">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> structures that describe all intersections of the ray and the mesh.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Determines whether a ray intersects with a mesh.</summary>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<param name="closestHit">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> object that describes the closest intersection between the array and the mesh.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Determines whether a ray intersects with a mesh.</summary>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<param name="closestHit">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> object that describes the closest intersection between the array and the mesh.</param>
<param name="allHits">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> structures that describe all intersections of the ray and the mesh.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Intersects the specified ray with a given mesh subset.</summary>
<param name="attribID">[in] Attribute identifier of the subset to intersect with.</param>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Intersects the specified ray with a given mesh subset.</summary>
<param name="attribID">[in] Attribute identifier of the subset to intersect with.</param>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<param name="allHits">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> structures that describe all intersections of the ray and the mesh.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Intersects the specified ray with a given mesh subset.</summary>
<param name="attribID">[in] Attribute identifier of the subset to intersect with.</param>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<param name="closestHit">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> object that describes the closest intersection between the array and the mesh.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Intersects the specified ray with a given mesh subset.</summary>
<param name="attribID">[in] Attribute identifier of the subset to intersect with.</param>
<param name="rayPos">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the origin coordinate of the ray.</param>
<param name="rayDir">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that specifies the direction of the ray.</param>
<param name="closestHit">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> object that describes the closest intersection between the array and the mesh.</param>
<param name="allHits">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/intersectinformation/intersectinformation.xml">IntersectInformation</A> structures that describe all intersections of the ray and the mesh.</param>
<returns>Value that is <b>true</b> if the ray intersects a triangular face on the mesh; otherwise, the value is <b>false</b>.</returns>
<summary>Loads the first frame hierarchy from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh hierarchy to load.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="allocHierarcy">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/allocatehierarchy/allocatehierarchy.xml">AllocateHierarchy</A>object.</param>
<param name="userDataLoader">[in] Application-provided object that allows loading of user data. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/loaduserdata/loaduserdata.xml">LoadUserData</A>.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/animationrootframe/animationrootframe.xml">AnimationRootFrame</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/s/animationrootframe/p/animationcontroller.xml">AnimationRootFrame.AnimationController</A> property contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationcontroller/animationcontroller.xml">AnimationController</A> that corresponds to an animation, created with default tracks and events, in the DirectX (.x) file.</returns>
<summary>Loads the first frame hierarchy from a <see cref="T:System.IO.Stream" />.</summary>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the mesh hierarchy to load.</param>
<param name="readBytes">[in] Size of the <B>stream</B> in bytes.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A>to associate with the mesh.</param>
<param name="allocHierarcy">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/allocatehierarchy/allocatehierarchy.xml">AllocateHierarchy</A>object.</param>
<param name="userDataLoader">[in] Application-provided object that allows loading of user data. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/loaduserdata/loaduserdata.xml">LoadUserData</A>.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/animationrootframe/animationrootframe.xml">AnimationRootFrame</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/s/animationrootframe/p/animationcontroller.xml">AnimationRootFrame.AnimationController</A> property contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationcontroller/animationcontroller.xml">AnimationController</A> that corresponds to an animation, created with default tracks and events, in the DirectX (.x) file.</returns>
<summary>Loads the first frame hierarchy in a DirectX (.x) file.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the mesh.</param>
<param name="allocHierarcy">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/allocatehierarchy/allocatehierarchy.xml">AllocateHierarchy</A> object. See Remarks.</param>
<param name="userDataLoader">[in] Application-provided object that allows loading of user data. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/loaduserdata/loaduserdata.xml">LoadUserData</A>.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/animationrootframe/animationrootframe.xml">AnimationRootFrame</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/s/animationrootframe/p/animationcontroller.xml">AnimationRootFrame.AnimationController</A> property contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationcontroller/animationcontroller.xml">AnimationController</A> that corresponds to an animation, created with default tracks and events, in the .x file.</returns>
<summary>Locks an attribute buffer and obtains its memory.</summary>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<returns>Array that contains three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values for each face in the mesh.</returns>
<summary>Controls the reordering of mesh faces and vertices to optimize performance and generate an output mesh.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>).</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Controls the reordering of mesh faces and vertices to optimize performance and generate an output mesh.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>).</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<param name="adjacencyOut">[in, out] Array for the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh.</param>
<param name="faceRemap">[in, out] Destination buffer that contains the new index for each face.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains the new index for each vertex.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Controls the reordering of mesh faces and vertices to optimize performance and generate an output mesh.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>).</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Controls the reordering of mesh faces and vertices to optimize performance and generate an output mesh.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>).</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<param name="adjacencyOut">[in, out] Array for the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh.</param>
<param name="faceRemap">[in, out] Destination buffer that contains the new index for each face.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains the new index for each vertex.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Controls the reordering of mesh faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A><i>Optimize*</i> flags.</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<summary>Controls the reordering of mesh faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A><i>Optimize*</i> flags.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<summary>Controls the reordering of mesh faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A><i>Optimize*</i> flags.</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<param name="adjacencyOut">[in, out] Array for the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh.</param>
<param name="faceRemap">[in, out] Destination buffer that contains the new index for each face.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains the new index for each vertex.</param>
<summary>Controls the reordering of mesh faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform; can be set to one or more of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A><i>Optimize*</i> flags.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0.</param>
<param name="adjacencyOut">[in, out] Array for the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh.</param>
<param name="faceRemap">[in, out] Destination buffer that contains the new index for each face.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains the new index for each vertex.</param>
<summary>Uses a left-handed coordinate system to create a mesh that contains an n-sided polygon.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created polygon mesh.</param>
<param name="length">[in] Length of each side.</param>
<param name="sides">[in] Number of sides for the polygon; must be greater than or equal to 3.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the polygon mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains an n-sided polygon.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created polygon mesh.</param>
<param name="length">[in] Length of each side.</param>
<param name="sides">[in] Number of sides for the polygon; must be greater than or equal to 3.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the polygon mesh.</returns>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Device" />.<see cref="E:Microsoft.DirectX.Direct3D.Device.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="effect">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>structures, one per attribute group in the mesh. An effect instance is a particular instance of state information used to initialize an effect.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="effect">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>structures, one per attribute group in the mesh. An effect instance is a particular instance of state information used to initialize an effect.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="stream">[in] The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> in which to save the .x file.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="stream">[in] The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> in which to save the .x file.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="effect">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>structures, one per attribute group in the mesh. An effect instance is a particular instance of state information used to initialize an effect.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="stream">[in] The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> in which to save the .x file.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Saves the mesh to the specified stream object.</summary>
<param name="stream">[in] The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> in which to save the .x file.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="materials">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information to save in the DirectX (.x) file.</param>
<param name="effect">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>structures, one per attribute group in the mesh. An effect instance is a particular instance of state information used to initialize an effect.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<summary>Creates a DirectX (.x) file and saves the mesh hierarchy and corresponding animations in it.</summary>
<param name="filename">[in] String that specifies the file name.</param>
<param name="format">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/xfileformat/xfileformat.xml">XFileFormat</A> that indicates the format to use when saving the .x file. See Remarks.</param>
<param name="frameRoot">[in] Root node of the hierarchy to save. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/frame/frame.xml">Frame</A>.</param>
<param name="animationMixer">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationcontroller/animationcontroller.xml">AnimationController</A> whose animation sets will be stored.</param>
<param name="saveUserData">[in] Application-provided object that allows saving of user data. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/saveuserdata/saveuserdata.xml">SaveUserData</A>.</param>
<summary>Sets a mesh's attribute table and specifies the number of entries stored in it.</summary>
<param name="table">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributerange/attributerange.xml">AttributeRange</A> structures that represent the entries in the mesh attribute table.</param>
<summary>Generates a simplified mesh using the provided weights that come as close as possible to the given <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.param_Int32_minValue" />.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="minValue">[in] Number of vertices or faces, depending on the flag set in the <B>options</B> parameter, by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh; can be one of the <i>Simplify*</i> flags in <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned simplification mesh.</returns>
<summary>Generates a simplified mesh using the provided weights that come as close as possible to the given <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.param_Int32_minValue" />.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is set to 0, all vertex weights are set to 1.0.</param>
<param name="minValue">[in] Number of vertices or faces, depending on the flag set in the <B>options</B> parameter, by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh; can be one of the <i>Simplify*</i> flags in <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned simplification mesh.</returns>
<summary>Generates a simplified mesh using the provided weights that come as close as possible to the given <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.param_Int32_minValue" />.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="vertexAttributeWeights">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> structure that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="minValue">[in] Number of vertices or faces, depending on the flag set in the <B>options</B> parameter, by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh; can be one of the <i>Simplify*</i> flags in <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned simplification mesh.</returns>
<summary>Generates a simplified mesh using the provided weights that come as close as possible to the given <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.param_Int32_minValue" />.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="vertexAttributeWeights">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> structure that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is set to 0, all vertex weights are set to 1.0.</param>
<param name="minValue">[in] Number of vertices or faces, depending on the flag set in the <B>options</B> parameter, by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh; can be one of the <i>Simplify*</i> flags in <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned simplification mesh.</returns>
<summary>Generates a simplified mesh using the provided weights that come as close as possible to the given <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.param_Int32_minValue" />.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of vertex weights. If this parameter is set to 0, all vertex weights are set to 1.0.</param>
<param name="minValue">[in] Number of vertices or faces, depending on the flag set in the <B>options</B> parameter, by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh; can be one of the <i>Simplify*</i> flags in <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned simplification mesh.</returns>
<summary>Generates a simplified mesh using the provided weights that come as close as possible to the given <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.param_Int32_minValue" />.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="vertexAttributeWeights">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> structure that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of vertex weights. If this parameter is set to 0, all vertex weights are set to 1.0.</param>
<param name="minValue">[in] Number of vertices or faces, depending on the flag set in the <B>options</B> parameter, by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh; can be one of the <i>Simplify*</i> flags in <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned simplification mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a sphere.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created sphere mesh.</param>
<param name="radius">[in] Radius of the sphere. This value should be greater than or equal to 0.0f.</param>
<param name="slices">[in] Number of slices around the main axis.</param>
<param name="stacks">[in] Number of stacks along the main axis.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the sphere mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a sphere.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created sphere mesh.</param>
<param name="radius">[in] Radius of the sphere. This value should be greater than or equal to 0.0f.</param>
<param name="slices">[in] Number of slices around the main axis.</param>
<param name="stacks">[in] Number of stacks along the main axis.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing an array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the sphere mesh.</returns>
<summary>Splits a mesh into multiple meshes that are smaller than the specified size.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="maxSize">[in] Maximum number of vertices in the resulting mesh.</param>
<param name="options">[in] One or more of the <i>Option*</i><A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> for the new meshes.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> objects for the new meshes. For a source mesh split into <i>n</i> meshes, the <B>return</B> value is an array of <i>n</i><A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> objects.</returns>
<summary>Splits a mesh into multiple meshes that are smaller than the specified size.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be simplified.</param>
<param name="maxSize">[in] Maximum number of vertices in the resulting mesh.</param>
<param name="options">[in] One or more of the <i>Option*</i><A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> for the new meshes.</param>
<param name="adjacencyArrayOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains adjacency arrays (<A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values) for the new meshes.</param>
<param name="faceRemapArrayOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains an array of face remap arrays (<A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values) for the new meshes.</param>
<param name="vertRemapArrayOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains an array of vertex remap arrays for the new meshes.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> objects for the new meshes. For a source mesh split into <i>n</i> meshes, the <B>return</B> value is an array of <i>n</i><A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> objects.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a teapot.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created teapot mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the teapot mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a teapot.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the created teapot mesh.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing an array filled with three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the teapot mesh.</returns>
<summary>Tessellates the given mesh using the N-patch tessellation scheme.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to tessellate.</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="numSegs">[in] Number of segments per edge to tessellate.</param>
<param name="quadraticInterpNormals">[in] Value that specifies the type of interpolation to use. If set to <b>true</b>, quadratic interpolation for normals is used; if set to <b>false</b>, linear interpolation is used.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned tessellated mesh.</returns>
<summary>Tessellates the given mesh using the N-patch tessellation scheme.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to tessellate.</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="numSegs">[in] Number of segments per edge to tessellate.</param>
<param name="quadraticInterpNormals">[in] Value that specifies the type of interpolation to use. If set to <b>true</b>, quadratic interpolation for normals is used; if set to <b>false</b>, linear interpolation is used.</param>
<param name="adjacencyOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the output mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned tessellated mesh.</returns>
<summary>Tessellates the given mesh using the N-patch tessellation scheme.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to tessellate.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="numSegs">[in] Number of segments per edge to tessellate.</param>
<param name="quadraticInterpNormals">[in] Value that specifies the type of interpolation to use. If set to <b>true</b>, quadratic interpolation for normals is used; if set to <b>false</b>, linear interpolation is used.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned tessellated mesh.</returns>
<summary>Tessellates the given mesh using the N-patch tessellation scheme.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to tessellate.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="numSegs">[in] Number of segments per edge to tessellate.</param>
<param name="quadraticInterpNormals">[in] Value that specifies the type of interpolation to use. If set to <b>true</b>, quadratic interpolation for normals is used; if set to <b>false</b>, linear interpolation is used.</param>
<param name="adjacencyOut">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the output mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the returned tessellated mesh.</returns>
<summary>Creates a mesh that contains the specified text, using a .NET font object.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the text mesh.</param>
<param name="font">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingFontClassTopic.asp">Font</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that creates the mesh.</param>
<param name="text">[in] String that specifies the text to generate.</param>
<param name="deviation">[in] Maximum chordal deviation from font outlines.</param>
<param name="extrusion">[in] Amount to extrude text in the negative z-direction.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cylinder mesh.</returns>
<summary>Creates a mesh that contains the specified text, using a .NET font object.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the text mesh.</param>
<param name="font">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingFontClassTopic.asp">Font</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that creates the mesh.</param>
<param name="text">[in] String that specifies the text to generate.</param>
<param name="deviation">[in] Maximum chordal deviation from font outlines.</param>
<param name="extrusion">[in] Amount to extrude text in the negative z-direction.</param>
<param name="glyphMetrics">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/glyphmetricsfloat/glyphmetricsfloat.xml">GlyphMetricsFloat</A> structures that contain the glyph metric data. See Remarks. If glyph sizes are not a concern, this parameter can be omitted.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cylinder mesh.</returns>
<summary>Creates a mesh that contains the specified text, using a .NET font object.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the text mesh.</param>
<param name="font">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingFontClassTopic.asp">Font</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that creates the mesh.</param>
<param name="text">[in] String that specifies the text to generate.</param>
<param name="deviation">[in] Maximum chordal deviation from font outlines.</param>
<param name="extrusion">[in] Amount to extrude text in the negative z-direction.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing an array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cylinder mesh.</returns>
<summary>Creates a mesh that contains the specified text, using a .NET font object.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the text mesh.</param>
<param name="font">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingFontClassTopic.asp">Font</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that creates the mesh.</param>
<param name="text">[in] String that specifies the text to generate.</param>
<param name="deviation">[in] Maximum chordal deviation from font outlines.</param>
<param name="extrusion">[in] Amount to extrude text in the negative z-direction.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing an array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<param name="glyphMetrics">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/glyphmetricsfloat/glyphmetricsfloat.xml">GlyphMetricsFloat</A> structures that contain the glyph metric data. See Remarks. If glyph sizes are not a concern, this parameter can be omitted.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cylinder mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a torus.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the text mesh.</param>
<param name="innerRadius">[in] Inner radius of the torus; should be greater than or equal to 0.0f.</param>
<param name="outterRadius">[in] Outer radius of the torus; should be greater than or equal to 0.0f.</param>
<param name="sides">[in] Number of sides in a cross section; must be greater than or equal to 3.</param>
<param name="rings">[in] Number of rings in the torus; must be greater than or equal to 3.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the torus mesh.</returns>
<summary>Uses a left-handed coordinate system to create a mesh that contains a torus.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device associated with the text mesh.</param>
<param name="innerRadius">[in] Inner radius of the torus; should be greater than or equal to 0.0f.</param>
<param name="outterRadius">[in] Outer radius of the torus; should be greater than or equal to 0.0f.</param>
<param name="sides">[in] Number of sides in a cross section; must be greater than or equal to 3.</param>
<param name="rings">[in] Number of rings in the torus; must be greater than or equal to 3.</param>
<param name="adjacency">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object containing an array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the torus mesh.</returns>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be tested.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be tested.</param>
<param name="errorsAndWarnings">[out] Returns a buffer that contains a string of errors and warnings, which explain the problems found in the mesh.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be tested.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the mesh to be tested.</param>
<param name="errorsAndWarnings">[out] Returns a buffer that contains a string of errors and warnings, which explain the problems found in the mesh.</param>
<summary>Welds together replicated vertices that have equal attributes.</summary>
<param name="flags">[in] One or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/weldepsilonsflags/weldepsilonsflags.xml">WeldEpsilonsFlags</A>.</param>
<param name="epsilons">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/weldepsilons/weldepsilons.xml">WeldEpsilons</A> structure that specifies the epsilon values to use for this method.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0. If this parameter is omitted, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/m/generateadjacency.xml">BaseMesh.GenerateAdjacency</A> is called to create logical adjacency information.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the new index for each vertex.</param>
<summary>Welds together replicated vertices that have equal attributes.</summary>
<param name="flags">[in] One or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/weldepsilonsflags/weldepsilonsflags.xml">WeldEpsilonsFlags</A>.</param>
<param name="epsilons">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/weldepsilons/weldepsilons.xml">WeldEpsilons</A> structure that specifies the epsilon values to use for this method.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0. If this parameter is omitted, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/m/generateadjacency.xml">BaseMesh.GenerateAdjacency</A> is called to create logical adjacency information.</param>
<summary>Welds together replicated vertices that have equal attributes.</summary>
<param name="flags">[in] One or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/weldepsilonsflags/weldepsilonsflags.xml">WeldEpsilonsFlags</A>.</param>
<param name="epsilons">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/weldepsilons/weldepsilons.xml">WeldEpsilons</A> structure that specifies the epsilon values to use for this method.</param>
<param name="adjacencyIn">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0. If this parameter is omitted, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/m/generateadjacency.xml">BaseMesh.GenerateAdjacency</A> is called to create logical adjacency information.</param>
<param name="adjacencyOut">[in, out] Face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh.</param>
<param name="faceRemap">[out] Array that contains the new index for each face.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the new index for each vertex.</param>
<summary>Welds together replicated vertices that have equal attributes.</summary>
<param name="flags">[in] One or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/weldepsilonsflags/weldepsilonsflags.xml">WeldEpsilonsFlags</A>.</param>
<param name="epsilons">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/weldepsilons/weldepsilons.xml">WeldEpsilons</A> structure that specifies the epsilon values to use for this method.</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0. If this parameter is omitted, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/m/generateadjacency.xml">BaseMesh.GenerateAdjacency</A> is called to create logical adjacency information.</param>
<param name="adjacencyOut">[in, out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outer array is one set of face adjacencies per triangle in the mesh.</param>
<summary>Welds together replicated vertices that have equal attributes.</summary>
<param name="flags">[in] One or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/weldepsilonsflags/weldepsilonsflags.xml">WeldEpsilonsFlags</A>.</param>
<param name="epsilons">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/weldepsilons/weldepsilons.xml">WeldEpsilons</A> structure that specifies the epsilon values to use for this method.</param>
<param name="adjacencyIn">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh. If the edge has no adjacent faces, the value is 0. If this parameter is omitted, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basemesh/m/generateadjacency.xml">BaseMesh.GenerateAdjacency</A> is called to create logical adjacency information.</param>
<param name="adjacencyOut">[in, out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outer array is one set of face adjacencies per triangle in the mesh.</param>
<param name="faceRemap">[out] Array that contains the new index for each face.</param>
<param name="vertexRemap">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the new index for each vertex.</param>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.PatchMesh.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Creates a new patch mesh with the specified vertex declaration.</summary>
<param name="options">[in] Mesh creation options, indicated through one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="decl">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that specify the vertex format for the vertices in the output mesh.</param>
<summary>Creates a new patch mesh with the specified vertex declaration.</summary>
<param name="options">[in] Mesh creation options, indicated through one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="decl">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that specify the vertex format for the vertices in the output mesh.</param>
<summary>Creates an N-patch mesh from a triangle mesh.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> triangle mesh object to convert to a patch mesh.</param>
<summary>Creates a mesh from a control-patch mesh.</summary>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> to associate with the patch mesh.</param>
<param name="information">[in] Patch information structure. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/patchinformation/patchinformation.xml">PatchInformation</A>.</param>
<param name="numberPatches">[in] Number of patches.</param>
<param name="numberVertices">[in] Number of control vertices in the patch.</param>
<param name="declaration">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the vertex format for the returned mesh.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Loads a patch mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that represents the file data object to load.</param>
<param name="options">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the mesh.</param>
<param name="effects">An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/patchmesh/patchmesh.xml">PatchMesh</A> object that represents the loaded patch mesh.</returns>
<summary>Loads a patch mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that represents the file data object to load.</param>
<param name="options">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/patchmesh/patchmesh.xml">PatchMesh</A> object that represents the loaded patch mesh.</returns>
<summary>Loads a patch mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that represents the file data object to load.</param>
<param name="options">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/patchmesh/patchmesh.xml">PatchMesh</A> object that represents the loaded patch mesh.</returns>
<summary>Loads a patch mesh from an <see cref="T:Microsoft.DirectX.Direct3D.XFileData" /> object.</summary>
<param name="xofObjMesh">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/c/xfiledata/xfiledata.xml">XFileData</A> object that represents the file data object to load.</param>
<param name="options">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object to associate with the mesh.</param>
<param name="materials">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/extendedmaterial/extendedmaterial.xml">ExtendedMaterial</A> structures that contain material information saved in the mesh.</param>
<param name="effects">An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A> structure that contains a set of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A> structures, each of which represents an attribute group in the returned mesh. The data in these structures represent a particular instance of state information used to initialize an effect. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectinstance/effectinstance.xml">EffectInstance</A>.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/patchmesh/patchmesh.xml">PatchMesh</A> object that represents the loaded patch mesh.</returns>
<param name="adaptive">[in] Value that specifies adaptive tessellation. For adaptive tessellation, set this parameter to -1 and set <B>tessLevel</B> to the maximum tessellation value. This results in the maximum mesh size necessary for adaptive tessellation. To specify no tessellation, set this parameter to 0.</param>
<param name="numTriangles">[out] Number of triangles generated by the tessellated mesh.</param>
<param name="numVertices">[out] Number of vertices generated by the tessellated mesh.</param>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSysLock">NoSysLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<returns>Returns the locked buffer in an array.</returns>
<param name="typeIndex">A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemTypeClassTopic.asp">Type</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that indicates the type of array data to return. This can be a value type or any type that contains only value types.</param>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSysLock">NoSysLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<param name="ranks">[in] Array of one to three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values that indicate the dimensions of the returning <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" />.</param>
<returns>An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that represents the locked index buffer.</returns>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSysLock">NoSysLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents the locked index buffer.</returns>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoOverWrite">NoOverWrite</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents the locked vertex buffer.</returns>
<param name="typeVertex">A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemTypeClassTopic.asp">Type</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that indicates the type of array data to return. This can be a value type or any type that contains only value types.</param>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoOverWrite">NoOverWrite</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<param name="ranks">[in] Array of one to three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values that indicate the dimensions of the returning <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" />.</param>
<returns>An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemArrayClassTopic.asp">Array</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that represents the locked vertex buffer.</returns>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.PatchMesh" />.<see cref="E:Microsoft.DirectX.Direct3D.PatchMesh.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<param name="data">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the data to copy into the index buffer. This can be any value type or array of value types. The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> and <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt16ClassTopic.asp">Int16</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values are commonly used.</param>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform when setting the data. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<param name="data">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the data to copy into the vertex buffer. This can be any value type or array of value types. The <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> and <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt16ClassTopic.asp">Int16</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values are commonly used.</param>
<param name="flags">[in] Zero or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A> that describe the type of lock to perform when setting the data. For this method, the valid flags are <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#Discard">Discard</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoDirtyUpdate">NoDirtyUpdate</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#NoSystemLock">NoSystemLock</A>, and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml#ReadOnly">ReadOnly</A>. For a description of the flags, see <A href="/directx/ref/ns/microsoft.directx.direct3d/e/lockflags/lockflags.xml">LockFlags</A>.</param>
<summary>Performs uniform tessellation based on the tessellation level.</summary>
<param name="tessLevel">[in] Tessellation level. This is the number of vertices introduced between existing vertices. The range of this floating-point parameter is between 0 and 32.</param>
<param name="mesh">[in] Resulting tessellated mesh. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A>.</param>
<summary>Performs adaptive tessellation based on the z-based adaptive tessellation criterion.</summary>
<param name="trans">[in] Specifies a 4-D vector (<A href="/directx/ref/ns/microsoft.directx/s/vector4/vector4.xml">Vector4</A>) that is dotted with the vertices to get the per-vertex adaptive tessellation amount. Each edge is tessellated to the average value of the tessellation levels for the two vertices it connects.</param>
<param name="maxTessellate">[in] Maximum limit for adaptive tessellation. This is the number of vertices introduced between existing vertices. The range of this integer value is between <B>minTessellate</B> and 32.</param>
<param name="minTessellate">[in] Minimum limit for adaptive tessellation. This is the number of vertices introduced between existing vertices. The range of this integer value is between 1 and <B>maxTessellate</B>.</param>
<param name="mesh">[in] Resulting tessellated mesh. For more information, see <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A>.</param>
<returns>Returns a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/degenerateitems/degenerateitems.xml">DegenerateItems</A> structure that contains the indexes of patches and vertices that caused validation to fail.</returns>
<param name="errorsAndWarnings">[out] Returns a buffer that contains a string of errors and warnings, which explain the problems found in the mesh.</param>
<returns>Returns a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/degenerateitems/degenerateitems.xml">DegenerateItems</A> structure that contains the indexes of patches and vertices that caused validation to fail.</returns>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.ProgressiveMesh.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="declaration">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the vertex format for the returned mesh. This parameter must map directly to a flexible vertex format (FVF).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device object associated with the mesh.</param>
<returns>Returns a cloned <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object.</returns>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="declaration">Array containing <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the vertex format for the returned mesh. This parameter must map directly to a flexible vertex format (FVF).</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device object associated with the mesh.</param>
<returns>Returns a cloned <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object.</returns>
<param name="options">[in] One or more flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify creation options for the mesh (excepting the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Simplify*</A> and <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">Optimize*</A> flags).</param>
<param name="vertexFormat">A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> enumerated value that indicates the vertex format of the returned mesh.</param>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device object associated with the mesh.</param>
<returns>Returns a cloned <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object.</returns>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created progressive mesh.</param>
<param name="minValue">[in] Number of vertices or faces (depending on which flag is set in the <B>options</B> parameter) by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh. Either <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A> can be set.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created progressive mesh.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight for a given vertex, the less likely it is to be simplified out of existence.</param>
<param name="minValue">[in] Number of vertices or faces (depending on which flag is set in the <B>options</B> parameter) by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh. Either <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A> can be set.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created progressive mesh.</param>
<param name="vertexAttributeWeights">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> structure that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="minValue">[in] Number of vertices or faces (depending on which flag is set in the <B>options</B> parameter) by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh. Either <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A> can be set.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created progressive mesh.</param>
<param name="vertexAttributeWeights">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> structure that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight for a given vertex, the less likely it is to be simplified out of existence.</param>
<param name="minValue">[in] Number of vertices or faces (depending on which flag is set in the <B>options</B> parameter) by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh. Either <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A> can be set.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created progressive mesh.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight for a given vertex, the less likely it is to be simplified out of existence.</param>
<param name="minValue">[in] Number of vertices or faces (depending on which flag is set in the <B>options</B> parameter) by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh. Either <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A> can be set.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the source mesh.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created progressive mesh.</param>
<param name="vertexAttributeWeights">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> structure that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight for a given vertex, the less likely it is to be simplified out of existence.</param>
<param name="minValue">[in] Number of vertices or faces (depending on which flag is set in the <B>options</B> parameter) by which to simplify the source mesh.</param>
<param name="options">[in] Simplification options for the mesh. Either <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A> or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A> can be set.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Generates an output mesh with reordered faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform. This parameter can be set to one or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A>).</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Generates an output mesh with reordered faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform. This parameter can be set to one or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A>).</param>
<param name="adjacencyOut">[out] Array for the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh. The size of this array is the maximum number of faces multiplied by 3.</param>
<param name="faceRemap">[out] Array that contains the new index for each face.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Generates an output mesh with reordered faces and vertices to optimize performance.</summary>
<param name="flags">[in] Type of optimization to perform. This parameter can be set to one or more flags from <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> (except <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#Use32Bit">Use32Bit</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#WriteOnly">WriteOnly</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#IbWriteOnly">IbWriteOnly</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyFace">SimplifyFace</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml#SimplifyVertex">SimplifyVertex</A>).</param>
<param name="adjacencyOut">[out] Array for the face adjacency array of the optimized mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outermost array is one set of face adjacencies per triangle in the mesh. The size of this array is the maximum number of faces multiplied by 3.</param>
<param name="faceRemap">[out] Array that contains the new index for each face.</param>
<param name="vertexRemap">A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the new index for each vertex.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the optimized mesh.</returns>
<summary>Optimizes the base level of detail (LOD) part of a <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> object.</summary>
<param name="flags">[in] One or more <i>Optimize*</i> flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify the type of optimization to perform.</param>
<summary>Optimizes the base level of detail (LOD) part of a <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> object.</summary>
<param name="flags">[in] One or more <i>Optimize*</i> flags from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> enumeration that specify the type of optimization to perform.</param>
<param name="faceRemap">[out] Array of <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values that indicate how the triangles were rearranged.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" />.<see cref="E:Microsoft.DirectX.Direct3D.ProgressiveMesh.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Modifies the minimum and maximum level of detail (LOD) of a <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> object.</summary>
<param name="newFacesMin">[in] New minimum number of faces. This value must fall between the current minimum and maximum number of faces.</param>
<param name="newFacesMax">[in] New maximum number of faces. This value must fall between the current minimum and maximum number of faces.</param>
<param name="faceRemap">[out] Array of one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value per face that contains face remap information.</param>
<param name="vertRemap">[out] Array of one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value per vertex that contains vertex remap information.</param>
<summary>Modifies the minimum and maximum level of detail (LOD) of a <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> object.</summary>
<param name="newVerticesMin">[in] New minimum number of vertices. This value must fall between the current minimum and maximum number of vertices.</param>
<param name="newVerticesMax">[in] New maximum number of vertices. This value must fall between the current minimum and maximum number of vertices.</param>
<summary>Modifies the minimum and maximum level of detail (LOD) of a <see cref="T:Microsoft.DirectX.Direct3D.ProgressiveMesh" /> object.</summary>
<param name="newVerticesMin">[in] New minimum number of vertices. This value must fall between the current minimum and maximum number of vertices.</param>
<param name="newVerticesMax">[in] New maximum number of vertices. This value must fall between the current minimum and maximum number of vertices.</param>
<param name="faceRemap">[out] Array of one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value per face that contains face remap information.</param>
<param name="vertRemap">[out] Array of one <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value per vertex that contains vertex remap information.</param>
<summary>Retrieves the currently set number of faces, or sets the current level of detail (LOD) to as close to the specified number of faces as possible.</summary>
<param name="faces">[in] Target number of faces. This value specifies the desired change in the LOD.</param>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.RenderToEnvironmentMap.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs after the <see cref="T:Microsoft.DirectX.Direct3D.RenderToEnvironmentMap" />.<see cref="M:Microsoft.DirectX.Direct3D.RenderToEnvironmentMap.OnResetDevice" /> method is called or after the <see cref="T:Microsoft.DirectX.Direct3D.Device" /> is reset.</summary>
<summary>Should be called after the device has been reset and before any other methods are called, if <see cref="F:Microsoft.DirectX.Direct3D.Device.IsUsingEventHandlers.Device.IsUsingEventHandlers" /> is set to false.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.RenderToSurface.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs after the <see cref="F:Microsoft.DirectX.Direct3D.RenderToSurface.OnResetDevice.RenderToSurface.OnResetDevice" /> method is called or after the <see cref="T:Microsoft.DirectX.Direct3D.Device" /> is reset.</summary>
<summary>Should be called after the device has been reset and before any other methods are called, if <see cref="F:Microsoft.DirectX.Direct3D.Device.IsUsingEventHandlers.Device.IsUsingEventHandlers" /> is set to false.</summary>
<summary>Compiles a shader from a string.</summary>
<param name="data">[in] String that contains the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Compiles a shader from a string.</summary>
<param name="data">[in] String that contains the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Compiles a shader from a string.</summary>
<param name="data">[in] String that contains the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<param name="errorMessages">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<param name="table">[out] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/constanttable/constanttable.xml">ConstantTable</A> object that can be used to access shader constants.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code, as well as any embedded debug and symbol table information.</returns>
<param name="file">[in] String that specifies the file name containing the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code, as well as any embedded debug and symbol table information.</returns>
<param name="file">[in] String that specifies the file name containing the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code, as well as any embedded debug and symbol table information.</returns>
<param name="file">[in] String that specifies the file name containing the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<param name="errorMessages">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<param name="table">[out] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/constanttable/constanttable.xml">ConstantTable</A> object that can be used to access shader constants.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Compiles a shader from a stream.</summary>
<param name="data">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code.</returns>
<summary>Compiles a shader from a stream.</summary>
<param name="data">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code.</returns>
<summary>Compiles a shader from a stream.</summary>
<param name="data">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the shader code to compile.</param>
<param name="functionName">[in] String that contains the name of the shader entry-point function where execution begins.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="profile">[in] String containing the shader profile that determines the shader instruction set to use.</param>
<param name="flags">[in] Integer that contains compile options identified by the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration.</param>
<param name="errorMessages">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<param name="table">[out] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/constanttable/constanttable.xml">ConstantTable</A> object that can be used to access shader constants.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled shader code.</returns>
<summary>Assembles a shader from a file.</summary>
<param name="sourceFile">[in] String that specifies the file name containing the shader code to assemble.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a file.</summary>
<param name="sourceFile">[in] String that specifies the file name containing the shader code to assemble.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<param name="complilationErrors">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a file.</summary>
<param name="sourceFile">[in] String that specifies the file name containing the shader code to assemble.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<param name="complilationErrors">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a stream.</summary>
<param name="sourceData">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the shader code to assemble.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a stream.</summary>
<param name="sourceData">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the shader code to assemble.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<param name="complilationErrors">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a stream.</summary>
<param name="sourceData">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that contains the shader code to assemble.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<param name="complilationErrors">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a string.</summary>
<param name="sourceData">[in] String that contains the shader code to assemble.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a string.</summary>
<param name="sourceData">[in] String that contains the shader code to assemble.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<param name="complilationErrors">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Assembles a shader from a string.</summary>
<param name="sourceData">[in] String that contains the shader code to assemble.</param>
<param name="preprocessorDefines">[in] Reference to a <A href="/directx/ref/ns/microsoft.directx.direct3d/s/macro/macro.xml">Macro</A> object that describes the preprocessor definitions to use.</param>
<param name="includeFile">[in] Reference to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A> object that provides access to include-file directives.</param>
<param name="flags">[in] Value of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/shaderflags/shaderflags.xml">ShaderFlags</A> enumeration that represents the shader compiler options to use.</param>
<param name="complilationErrors">[out] String containing a listing of errors and warnings that were encountered during compilation. These are the same messages the debugger displays in debug mode.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the assembled shader code, as well as any embedded debug and symbol table information.</returns>
<summary>Retrieves the semantics for all shader input elements.</summary>
<param name="function">[in] Integer that represents a pointer to the shader function stream.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/semantic/semantic.xml">Semantic</A> objects that represent the semantics for each input element referenced by the shader.</returns>
<summary>Retrieves the semantics for all shader input elements.</summary>
<param name="function">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents a pointer to the shader function stream.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/semantic/semantic.xml">Semantic</A> objects that represent the semantics for each input element referenced by the shader.</returns>
<summary>Retrieves the semantics for all shader output elements.</summary>
<param name="function">[in] Integer that represents a pointer to the shader function stream.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/semantic/semantic.xml">Semantic</A> objects that represent the semantics for each output element referenced by the shader.</returns>
<summary>Retrieves the semantics for all shader output elements.</summary>
<param name="function">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents a pointer to the shader function stream.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/semantic/semantic.xml">Semantic</A> objects that represent the semantics for each output element referenced by the shader.</returns>
<summary>Returns the version of the compiled shader.</summary>
<param name="function">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that represents a pointer to the shader function stream.</param>
<returns>A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that represents the shader version.</returns>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.SimplificationMesh.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Clones, or copies, a <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> object.</summary>
<param name="options">[in] Mesh creation options, indicated through one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="declaration">[in] Vertex data, defined with an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cloned mesh.</returns>
<summary>Clones, or copies, a <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> object.</summary>
<param name="options">[in] Mesh creation options, indicated through one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="declaration">[in] Vertex data, defined with an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<param name="adjacencyOut">[out] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specifies the three neighbors for each face in the source mesh.</param>
<param name="vertexRemap">[out] Array that contains the index for each vertex.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cloned mesh.</returns>
<summary>Clones, or copies, a <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> object.</summary>
<param name="options">[in] Mesh creation options, indicated through one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="vertexFormat">[in] Vertex format of the mesh, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> members.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cloned mesh.</returns>
<summary>Clones, or copies, a <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> object.</summary>
<param name="options">[in] Mesh creation options, indicated through one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="vertexFormat">[in] Vertex format of the mesh, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> members.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<param name="adjacencyOut">[out] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specifies the three neighbors for each face in the source mesh.</param>
<param name="vertexRemap">[out] Array that contains the index for each vertex.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the cloned mesh.</returns>
<summary>Clones a progressive mesh object.</summary>
<param name="options">[in] Mesh creation options, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="declaration">[in] Vertex data, defined with an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures. This parameter must map directly to a flexible vertex format (FVF).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object that represents the cloned progressive mesh.</returns>
<summary>Clones a progressive mesh object.</summary>
<param name="options">[in] Mesh creation options, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="declaration">[in] Vertex data, defined with an array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures. This parameter must map directly to a flexible vertex format (FVF).</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<param name="vertexRemapOut">[out] Array that contains the index for each vertex.</param>
<param name="errorsByFace">[out] Array that contains error values.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object that represents the cloned progressive mesh.</returns>
<summary>Clones a progressive mesh object.</summary>
<param name="options">[in] Mesh creation options, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="vertexFormat">[in] Vertex format of the mesh, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> members.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object that represents the cloned progressive mesh.</returns>
<summary>Clones a progressive mesh object.</summary>
<param name="options">[in] Mesh creation options, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/meshflags/meshflags.xml">MeshFlags</A> flags (excepting the <i>Simplify*</i> and <i>Optimize*</i> flags).</param>
<param name="vertexFormat">[in] Vertex format of the mesh, indicated by one or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> members.</param>
<param name="device">[in] The <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object associated with the mesh.</param>
<param name="vertexRemapOut">[out] Array that contains the index for each vertex.</param>
<param name="errorsByFace">[out] Array that contains error values.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/progressivemesh/progressivemesh.xml">ProgressiveMesh</A> object that represents the cloned progressive mesh.</returns>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created simplification mesh.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> object, which in turn contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created simplification mesh.</param>
<param name="vertexAttributeWeights">[in] An <B>vertexAttributeWeights</B> object that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> object, which in turn contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created simplification mesh.</param>
<param name="vertexAttributeWeights">[in] An <B>vertexAttributeWeights</B> object that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight is for a given vertex, the less likely it is to be simplified away.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight is for a given vertex, the less likely it is to be simplified away.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> object, which in turn contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="vertexAttributeWeights">[in] An <B>vertexAttributeWeights</B> object that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> containing three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the source mesh.</param>
<param name="vertexAttributeWeights">[in] An <B>vertexAttributeWeights</B> object that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<param name="vertexWeights">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> that contains an <A href="/directx/ref/ns/microsoft.directx.direct3d/s/attributeweights/attributeweights.xml">AttributeWeights</A> object, which in turn contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created simplification mesh.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created simplification mesh.</param>
<param name="vertexWeights">[in] Array of vertex weights. If this parameter is omitted, all vertex weights are set to 1.0. Note that the higher the vertex weight is for a given vertex, the less likely it is to be simplified away.</param>
<summary>Creates a new instance of the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" /> class.</summary>
<param name="mesh">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/mesh/mesh.xml">Mesh</A> object that represents the mesh to simplify.</param>
<param name="adjacency">[in] Array of three <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> values per face that specify the three neighbors for each face in the created simplification mesh.</param>
<param name="vertexAttributeWeights">[in] An <B>vertexAttributeWeights</B> object that contains the weight for each vertex component. If this parameter is omitted, a default structure is used. See Remarks.</param>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" />.<see cref="E:Microsoft.DirectX.Direct3D.SimplificationMesh.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Retrieves the <see cref="T:Microsoft.DirectX.Direct3D.VertexFormats" /> of the vertices in the <see cref="T:Microsoft.DirectX.Direct3D.SimplificationMesh" />.</summary>
<summary>Occurs when the Dispose method has been called or when the object has been finalized and collected by the .NET runtime's garbage collector.</summary>
<summary>Update bone influence information to match vertices after they are reordered. This should be called if the target vertex buffer has been reordered externally.</summary>
<summary>Occurs when the <see cref="M:Microsoft.DirectX.Direct3D.Sprite.Dispose" /> method is called or when the object is finalized and collected by the garbage collector of the MicrosoftMicrosoft .NET.NETcommon language runtime.</summary>
<summary>Occurs after the <see cref="F:Microsoft.DirectX.Direct3D.Sprite.OnResetDevice.Sprite.OnResetDevice" /> method is called or after the <see cref="T:Microsoft.DirectX.Direct3D.Device" /> is reset.</summary>
<summary>Prepares a device for drawing sprites.</summary>
<param name="flags">[in] Combination of zero or more values from the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/spriteflags/spriteflags.xml">SpriteFlags</A> enumeration that describe sprite rendering options.</param>
<summary>Initializes a new instance of the class.</summary>
<param name="device">[in] Reference to an instance of a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object.</param>
<summary>Adds a sprite to the list of batched sprites.</summary>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the sprite texture.</param>
<param name="srcRectangle">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleClassTopic.asp">Rectangle</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that indicates the portion of the source texture to use for the sprite. If this argument is 0, the entire source image is used for the sprite.</param>
<param name="center">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that identifies the center of the sprite. If this argument is zero, the point (0,0,0), the upper-left corner, is used.</param>
<param name="position">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that identifies the position of the sprite. If this argument is 0, the point (0,0,0), the upper-left corner, is used.</param>
<param name="color">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingColorClassTopic.asp">Color</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> structure. The color and alpha channels are modulated by this value. A value of 0xFFFFFFFF maintains the original source color and alpha data.</param>
<summary>Adds a sprite to the list of batched sprites.</summary>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the sprite texture.</param>
<param name="srcRectangle">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDrawingRectangleClassTopic.asp">Rectangle</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> object that indicates the portion of the source texture to use for the sprite. If this argument is 0, the entire source image is used for the sprite.</param>
<param name="center">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that identifies the center of the sprite. If this argument is zero, the point (0,0,0), the upper-left corner, is used.</param>
<param name="position">[in] A <A href="/directx/ref/ns/microsoft.directx/s/vector3/vector3.xml">Vector3</A> structure that identifies the position of the sprite. If this argument is 0, the point (0,0,0), the upper-left corner, is used.</param>
<param name="color">[in] Color value represented as an integer. The color and alpha channels are modulated by this value. A value of 0xFFFFFFFF maintains the original source color and alpha data.</param>
<summary>Restores the device to the state it was in before <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.Begin(Microsoft.DirectX.Direct3D.SpriteFlags)" /> was called.</summary>
<summary>Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.</summary>
<summary>Should be called after the device is reset and before any other methods are called, if <see cref="F:Microsoft.DirectX.Direct3D.Device.IsUsingEventHandlers.Device.IsUsingEventHandlers" /> is set to false.</summary>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="E:Microsoft.DirectX.Direct3D.Sprite.Disposing" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="E:Microsoft.DirectX.Direct3D.Sprite.Lost" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Raises a <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="E:Microsoft.DirectX.Direct3D.Sprite.Reset" /> event when called from within a derived class.</summary>
<param name="i1">Invoking object reference; should be <i>this</i> object.</param>
<param name="i2">Arguments to pass into the event handler.</param>
<summary>Sets the left-handed world-view transform for a sprite. A call to this method is required before 2-D technique of simulating the appearance of a 3-D object in a scene. An application inserts a primitive, typically rectangular, into the scene, orients it so that one face is toward the viewer, and applies a texture or a set of textures. The texture or set of textures gives the appearance of an animated 3-D object. or sorting sprites.</summary>
<param name="world">[in] A <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A> object that contains a world transform.</param>
<param name="view">[in] A <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A> object that contains a view transform.</param>
<summary>Sets the right-handed world-view transform for a sprite. A call to this method is required before 2-D technique of simulating the appearance of a 3-D object in a scene. An application inserts a primitive, typically rectangular, into the scene, orients it so that one face is toward the viewer, and applies a texture or a set of textures. The texture or set of textures gives the appearance of an animated 3-D object. or sorting sprites.</summary>
<param name="world">[in] A <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A> object that contains a world transform.</param>
<param name="view">[in] A <A href="/directx/ref/ns/microsoft.directx/s/matrix/matrix.xml">Matrix</A> object that contains a view transform.</param>
<summary>Checks creation parameters for a cube texture.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> class that represents the device to associate with the cube texture.</param>
<param name="usage">[in] Value that is either 0 or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the texture should be placed.</param>
<param name="requirements">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/cubetexturerequirements/cubetexturerequirements.xml">CubeTextureRequirements</A> structure that contains the cube texture creation parameters.</param>
<summary>Checks creation parameters for a texture.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="usage">[in] Value that is either 0 or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the texture should be placed.</param>
<param name="requirements">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/texturerequirements/texturerequirements.xml">TextureRequirements</A> structure that contains the texture creation parameters.</param>
<summary>Checks creation parameters for a volume texture.
</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the texture should be placed.</param>
<param name="requirements">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/volumetexturerequirements/volumetexturerequirements.xml">VolumeTextureRequirements</A> structure that contains the volume texture creation parameters.</param>
<summary>Converts a height map into a normal map.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the destination texture.</param>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the source height-map texture.</param>
<param name="flags">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/normalmap/normalmap.xml">NormalMap</A> flags that indicate creation options.</param>
<param name="channel">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/channel/channel.xml">Channel</A> flag that specifies the source of the height information.</param>
<param name="amplitude">[in] Constant value by which the height information is multiplied.</param>
<summary>Converts a height map into a normal map.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the destination texture.</param>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the source height-map texture.</param>
<param name="sourcePalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the mapped normals.</param>
<param name="flags">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/normalmap/normalmap.xml">NormalMap</A> flags that indicate creation options.</param>
<param name="channel">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/e/channel/channel.xml">Channel</A> flag that specifies the source of the height information.</param>
<param name="amplitude">[in] Constant value by which the height information is multiplied.</param>
<summary>Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the filled texture.</param>
<param name="compiledCode">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled HLSL function. This can be created using <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshader.xml">ShaderLoader.CompileShader</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshaderfromstream.xml">ShaderLoader.CompileShaderFromStream</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshaderfromfile.xml">ShaderLoader.CompileShaderFromFile</A>.</param>
<param name="constants">[in] Array of constants, provided by the application from the constant table. This value can be 0. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector4/vector4.xml">Vector4</A>.</param>
<summary>Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the filled texture.</param>
<param name="compiledCode">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled HLSL function. This can be created using <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshader.xml">ShaderLoader.CompileShader</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshaderfromstream.xml">ShaderLoader.CompileShaderFromStream</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshaderfromfile.xml">ShaderLoader.CompileShaderFromFile</A>.</param>
<param name="constants">[in] Array of constants, provided by the application from the constant table. This value can be 0. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector4/vector4.xml">Vector4</A>.</param>
<summary>Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the filled texture.</param>
<param name="compiledCode">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the compiled HLSL function. This can be created using <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshader.xml">ShaderLoader.CompileShader</A>, <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshaderfromstream.xml">ShaderLoader.CompileShaderFromStream</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/c/shaderloader/m/compileshaderfromfile.xml">ShaderLoader.CompileShaderFromFile</A>.</param>
<param name="constants">[in] Array of constants, provided by the application from the constant table. This value can be 0. For more information, see <A href="/directx/ref/ns/microsoft.directx/s/vector4/vector4.xml">Vector4</A>.</param>
<summary>Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the filled texture.</param>
<param name="callbackFunction">[in] User-provided <A href="/directx/ref/ns/microsoft.directx.direct3d/d/fill3dtexturecallback/fill3dtexturecallback.xml">Fill3DTextureCallback</A> delegate that is used to compute the value of each texel.</param>
<summary>Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the filled texture.</param>
<param name="callbackFunction">[in] User-provided <A href="/directx/ref/ns/microsoft.directx.direct3d/d/fill3dtexturecallback/fill3dtexturecallback.xml">Fill3DTextureCallback</A> delegate that is used to compute the value of each texel.</param>
<summary>Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture.</summary>
<param name="texture">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the filled texture.</param>
<param name="callbackFunction">[in] User-provided <A href="/directx/ref/ns/microsoft.directx.direct3d/d/fill2dtexturecallback/fill2dtexturecallback.xml">Fill2DTextureCallback</A> delegate that is used to compute the value of each texel.</param>
<summary>Filters mipmap levels of a texture.</summary>
<param name="baseTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basetexture/basetexture.xml">BaseTexture</A> object that represents the texture object to filter.</param>
<param name="srcLevel">[in] Level whose image is used to generate subsequent levels. A common value for this parameter is 0.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> values that control how the mipmap is filtered.</param>
<summary>Filters mipmap levels of a texture.</summary>
<param name="baseTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basetexture/basetexture.xml">BaseTexture</A> object that represents the texture object to filter.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in. For formats that are not palletized, use 0. If a palette is not specified, the default Microsoft® Direct3D® palette (an all-opaque white palette) is provided. See Remarks.</param>
<param name="srcLevel">[in] Level whose image is used to generate subsequent levels. A common value for this parameter is 0.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> values that control how the mipmap is filtered.</param>
<summary>Creates a cube texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="size">[in] Width and height of the cube texture, in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <B>format</B>. Applications should check the format of the returned cube texture. If <B>format</B> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="size">[in] Width and height of the cube texture, in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <B>format</B>. Applications should check the format of the returned cube texture. If <B>format</B> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="size">[in] Width and height of the cube texture, in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <B>format</B>. Applications should check the format of the returned cube texture. If <B>format</B> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="size">[in] Width and height of the cube texture, in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <B>format</B>. Applications should check the format of the returned cube texture. If <B>format</B> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="size">[in] Width and height of the cube texture in pixels. For example, if the cube texture is an 8-pixel by 8-pixel cube, the value is 8. If the value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface should be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. The color key is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value equals 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<summary>Creates a cube texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the cube texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the cube texture. See Remarks.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/cubetexture/cubetexture.xml">CubeTexture</A> object that represents the created cube texture object.</returns>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is zero, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete mipmap chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture. See Remarks.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<returns>[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/texture/texture.xml">Texture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<param name="width">[in] Width in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="height">[in] Height in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="depth">[in] Depth in pixels. If this value is 0, the dimensions are taken from the file. The maximum dimension that a driver supports (for width, height, and depth) can be found in the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/caps.xml">Caps</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/caps/p/maxvolumeextent.xml">MaxVolumeExtent</A> property.</param>
<param name="mipLevels">[in] Number of mip levels requested. If this value is 0, a complete <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmap</span> chain is created.</param>
<param name="usage">[in] Zero or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A>, or <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A>. Setting this flag to <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> indicates that the surface will be used as a render target. The resource can then be passed to the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml#param_Surface_renderTarget">renderTarget</A> parameter of the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/m/setrendertarget.xml">Device.SetRenderTarget</A> method. If <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#RenderTarget">Usage.RenderTarget</A> is specified, the application should determine whether the device supports this operation by calling <A href="/directx/ref/ns/microsoft.directx.direct3d/c/manager/m/checkdeviceformat.xml">Manager.CheckDeviceFormat</A>. The <A href="/directx/ref/ns/microsoft.directx.direct3d/e/usage/usage.xml#Dynamic">Usage.Dynamic</A> value indicates that the surface should be handled dynamically.</param>
<param name="format">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml">Format</A> enumerated type that describes the requested pixel format for the cube texture. The returned cube texture might have a different format from that specified by <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A>. Applications should check the format of the returned cube texture. If <A href="/directx/ref/ns/microsoft.directx.direct3d/c/textureloader/m/fromcubefile.xml#param_Format_format">format</A> is <A href="/directx/ref/ns/microsoft.directx.direct3d/e/format/format.xml#Unknown">Unknown</A>, the format is taken from the file.</param>
<param name="pool">[in] Member of the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/pool/pool.xml">Pool</A> enumerated type that describes the memory class into which the cube texture should be placed.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="mipFilter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the <span class="clsGlossary" onmouseover="showDef()" onmouseout="clearDef()" G_RID="term_mipmap"><!--Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used.-->mipmaps</span> are filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[in, out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains a description of the data in the source image file, or 0.</param>
<param name="palette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Creates a volume texture from a file in memory.</summary>
<param name="device">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/device/device.xml">Device</A> object that represents the device to associate with the volume texture.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> from which to create the texture.</param>
<param name="readBytes">[in] Size, in bytes, of the file in memory.</param>
<returns>[out] Address of a pointer to a <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volumetexture/volumetexture.xml">VolumeTexture</A> object that represents the created texture object.</returns>
<summary>Retrieves information about a given image file.</summary>
<param name="srcFile">[in] File name of the image whose information is being retrieved.</param>
<returns>An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure that contains the description of the data in the source file.</returns>
<param name="destFile">[in] String that specifies the file name of the source image.</param>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> flag that specifies the file format to use when saving. See Remarks.</param>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basetexture/basetexture.xml">BaseTexture</A> object that contains the texture to save.</param>
<param name="destFile">[in] String that specifies the file name of the source image.</param>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> flag that specifies the file format to use when saving. See Remarks.</param>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basetexture/basetexture.xml">BaseTexture</A> object that contains the texture to save.</param>
<param name="sourcePalette">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structure that contains a 256-color palette. This parameter can be 0.</param>
<summary>Saves a volume to a graphics stream.</summary>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> flag that specifies the file format to use when saving. See Remarks.</param>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basetexture/basetexture.xml">BaseTexture</A> object that contains the texture to save.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the source image.</returns>
<summary>Saves a volume to a graphics stream.</summary>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> flag that specifies the file format to use when saving. See Remarks.</param>
<param name="srcTexture">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/basetexture/basetexture.xml">BaseTexture</A> object that contains the texture to save.</param>
<param name="sourcePalette">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structure that contains a 256-color palette. This parameter can be 0.</param>
<returns>A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/graphicsstream/graphicsstream.xml">GraphicsStream</A> object that contains the source image.</returns>
<summary>Returns a declarator from a vertex format.</summary>
<param name="vertexFormat">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> flags that describe the vertex format from which to generate the returned declarator array.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the vertex format of the mesh vertices.</returns>
<summary>Returns a <see cref="T:Microsoft.DirectX.Direct3D.VertexFormats" /> structure from a declarator.</summary>
<param name="declarator">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that describe the <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> code.</param>
<returns>Combination of <A href="/directx/ref/ns/microsoft.directx.direct3d/e/vertexformats/vertexformats.xml">VertexFormats</A> flags that describe the vertex format returned from the declarator.</returns>
<summary>Generates an output vertex declaration from the input declaration.</summary>
<param name="declarator">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that represent the input vertex declaration.</param>
<returns>Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/vertexelement/vertexelement.xml">VertexElement</A> structures that represent the output vertex declaration.</returns>
<summary>Returns the size of the vertex format.</summary>
<param name="vertexFormat">[in] Vertex format for which to return size.</param>
<returns>An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value that indicates the size of the vertex format.</returns>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcFile">[in] String that specifies the file name.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="readBytes">[in] Size of the file in memory, in bytes.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Creates a volume from a file in memory.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[out] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that represent a 256-color palette to fill in, or 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="stream">[in] A <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOStreamClassTopic.asp">Stream</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> that contains the source volume texture in memory.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="srcInformation">[out] An <A href="/directx/ref/ns/microsoft.directx.direct3d/s/imageinformation/imageinformation.xml">ImageInformation</A> structure to fill with a description of the data in the source image file, or 0.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the destination box. Omit this parameter to specify the entire volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the source volume. This parameter can be 0.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<summary>Loads a volume from another volume.</summary>
<param name="destVolume">[out] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the destination volume.</param>
<param name="destPalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures containing a 256-color palette that represents the palette for the destination volume. This parameter can be 0.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that specifies the source volume.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="filter">[in] One or more <A href="/directx/ref/ns/microsoft.directx.direct3d/e/filter/filter.xml">Filter</A> flags that control how the image is filtered.</param>
<param name="colorKey">[in] An <A target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Int32</A><IMG SRC="/directx/art/leave-site.gif" ALT="Leave Site" /> value to replace with transparent black, or 0 to disable the color key. This is always a 32-bit ARGB color that is independent of the source image format. Alpha is significant, and usually should be set to FF for opaque color keys. For example, for opaque black, the value is equal to 0xFF000000.</param>
<param name="destFile">[in] String that specifies the file name of the source image.</param>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> that specifies the file format to use when saving. See Remarks.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that contains the image to save.</param>
<param name="destFile">[in] String that specifies the file name of the source image.</param>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> that specifies the file format to use when saving. See Remarks.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that contains the image to save.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that contain a 256-color palette. This parameter can be 0.</param>
<param name="destFile">[in] String that specifies the file name of the source image.</param>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> that specifies the file format to use when saving. See Remarks.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that contains the image to save.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<param name="destFile">[in] String that specifies the file name of the source image.</param>
<param name="destFormat">[in] An <A href="/directx/ref/ns/microsoft.directx.direct3d/e/imagefileformat/imagefileformat.xml">ImageFileFormat</A> that specifies the file format to use when saving. See Remarks.</param>
<param name="srcVolume">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/c/volume/volume.xml">Volume</A> object that contains the image to save.</param>
<param name="sourcePalette">[in] Array of <A href="/directx/ref/ns/microsoft.directx.direct3d/s/paletteentry/paletteentry.xml">PaletteEntry</A> structures that contain a 256-color palette. This parameter can be 0.</param>
<param name="srcBox">[in] A <A href="/directx/ref/ns/microsoft.directx.direct3d/s/box/box.xml">Box</A> structure that specifies the source box. Omit this parameter to specify the entire volume.</param>
<summary>Represents the method that will handle the <see cref="M:Microsoft.DirectX.Direct3D.TextureLoader.FillTexture(Microsoft.DirectX.Direct3D.Texture,Microsoft.DirectX.Direct3D.Fill2DTextureCallback)" /> call.</summary>
<summary>Represents the method that will handle the <see cref="M:Microsoft.DirectX.Direct3D.TextureLoader.FillTexture(Microsoft.DirectX.Direct3D.VolumeTexture,Microsoft.DirectX.Direct3D.Fill3DTextureCallback)" /> or <see cref="M:Microsoft.DirectX.Direct3D.TextureLoader.FillTexture(Microsoft.DirectX.Direct3D.CubeTexture,Microsoft.DirectX.Direct3D.Fill3DTextureCallback)" /> call.</summary>
<summary>This delegate is used to handle callbacks triggered by <see cref="T:Microsoft.DirectX.Direct3D.KeyCallback" /> in an animation track.</summary>
<param name="track">[in] Identifier of the track on which the callback occurs.</param>
<param name="callbackData">[in] Callback data specified in <A href="/directx/ref/ns/microsoft.directx.direct3d/s/keycallback/keycallback.xml#KeyCallback_CallBackData_Field">KeyCallback_CallBackData_Field</A>.</param>
<summary>Defines the flags used to obtain callback information.This enumeration is used by the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationset/m/getcallback.xml">AnimationSet.GetCallback</A> method.</summary>
<summary>Defines flags that specify which channels in a texture to operate on. This enumeration is used by the <see cref="T:Microsoft.DirectX.Direct3D.TextureLoader" />.<see cref="M:Microsoft.DirectX.Direct3D.TextureLoader.ComputeNormalMap" /> method.</summary>
<summary>Operation is performed on the Opacity of an image defined by an alpha value per pixel interleaved with the color components (for example, ARGB), an alpha value per pixel stored in a separate alpha surface, or a constant alpha value for the entire surface..</summary>
<summary>Defines the compression mode to use for storing compressed animation set data. This enumeration is used by the <see cref="T:Microsoft.DirectX.Direct3D.KeyframedAnimationSet" />.<see cref="M:Microsoft.DirectX.Direct3D.KeyframedAnimationSet.Compress(Microsoft.DirectX.Direct3D.CompressionFlags,System.Single,Microsoft.DirectX.Direct3D.Frame)" /> method.</summary>
<summary>Truncates any word that does not fit in the rectangle and adds ellipses. Compare with <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.EndEllipsis" /> and <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.PathEllipsis" />.</summary>
<summary>Breaks words. Lines are automatically broken between words if a word extends past the edge of the rectangle specified by the <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.param_Rectangle_rect" /> parameter. A carriage return/line feed sequence also breaks the line.</summary>
<summary>Sets tab stops. Bits 15-8 (high-order byte of the low-order word) of the <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.param_Int32_format" /> parameter specify the number of characters for each tab. The default number of characters per tab is eight. The <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.CalculateRect" />, <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.ExternalLeading" />, <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.Internal" />, <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.NoClip" />, and <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.NoPrefix" /> values cannot be used with the <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.TabStop" /> value.</summary>
<summary>Displays text in right-to-left reading order for bidirectional text when a Hebrew or Arabic font is selected. The default reading order for all text is left-to-right.</summary>
<summary>MicrosoftMicrosoft WindowsWindows 2000Windows 2000/MicrosoftMicrosoft WindowsWindows XPWindows XP: Draws only an underline at the position of the character that follows the ampersand (&) prefix character. Does not draw any other characters in the string. For example, the input string "A&bc&&d" becomes " _ ". Compare with <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.HidePrefix" /> and <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.NoPrefix" />.</summary>
<summary>Turns off processing of prefix characters. Typically, <see cref="M:Microsoft.DirectX.Direct3D.Font.DrawText" /> interprets the mnemonic-prefix character & as a directive to underscore the character that follows, and the mnemonic-prefix characters && as a directive to print a single &. By specifying <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.NoPrefix" />, this processing is turned off. For example, the input string "A&bc&&d" remains "A&bc&&d". Compare with <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.HidePrefix" /> and <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.PrefixOnly" />.</summary>
<summary>MicrosoftMicrosoft WindowsWindows 98/MicrosoftMicrosoft WindowsWindows Millennium Edition (Windows Me)Windows Me, MicrosoftMicrosoft WindowsWindows 2000Windows 2000/MicrosoftMicrosoft WindowsWindows XPWindows XP: Prevents a line break at a double-byte character set (DBCS)DBCS string, so that the line-breaking rule is equivalent to single-byte character set (SBCS)SBCS strings. For example, this option can be used in Korean versions of Windows, for greater readability of icon labels. This value has no effect unless <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.WordBreak" /> is specified.</summary>
<summary>Draws without clipping. <see cref="T:Microsoft.DirectX.Direct3D.Font" />.<see cref="M:Microsoft.DirectX.Direct3D.Font.DrawText" /> is somewhat faster when <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.NoClip" /> is used.</summary>
<summary>Modifies the specified string to match the displayed text. This value has no effect unless <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.EndEllipsis" /> or <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.PathEllipsis" /> is specified.</summary>
<summary>MicrosoftMicrosoft WindowsWindows 2000Windows 2000/MicrosoftMicrosoft WindowsWindows XPWindows XP: Ignores the ampersand (&) prefix character in the text. The letter that follows it is not underlined, but other mnemonic-prefix characters are still processed. For example, the input string "A&bc&&d" becomes "Abc&d". Compare with <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.NoPrefix" /> and <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.PrefixOnly" />.</summary>
<summary>Expands tab characters. The default number of characters per tab is eight. The <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.PathEllipsis" /> and <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.EndEllipsis" /> values cannot be used with the <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.ExpandTabs" /> value.</summary>
<summary>For displayed text, replaces characters in the middle of the string with ellipses so that the result fits in the specified rectangle. If the string contains backslash (\) characters, <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.PathEllipsis" /> preserves as much as possible of the text after the last backslash. The string is not modified unless the <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.ModifyString" /> flag is specified. Compare with <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.EndEllipsis" /> and <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.WordEllipsis" />.</summary>
<summary>For displayed text, truncates the end of a string and adds ellipses so that the result fits in the specified rectangle. If a word that is not at the end of the string goes beyond the limits of the rectangle, it is truncated without ellipses. The string is not modified unless the <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.ModifyString" /> flag is specified. Compare with <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.PathEllipsis" /> and <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.WordEllipsis" />.</summary>
<summary>Duplicates the text-displaying characteristics of a multi-line edit control. Specifically, the average character width is calculated in the same manner as for an edit control, and the function does not display a partially visible last line.</summary>
<summary>Determines the width and height of the rectangle. If there are multiple lines of text, <see cref="T:Microsoft.DirectX.Direct3D.Font" />.<see cref="M:Microsoft.DirectX.Direct3D.Font.DrawText" /> uses the width of the rectangle pointed to by the <see cref="F:Microsoft.DirectX.Direct3D.Font.DrawText.param_Rectangle_rect" /> parameter and extends the base of the rectangle to bound the last line of text. If there is only one line of text, <see cref="M:Microsoft.DirectX.Direct3D.Font.DrawText" /> modifies the right side of the rectangle so that it bounds the last character in the line. In either case, <see cref="T:Microsoft.DirectX.Direct3D.Font" />.<see cref="M:Microsoft.DirectX.Direct3D.Font.DrawText" /> returns the height of the formatted text but does not draw the text.</summary>
<summary>Justifies text to the bottom of the rectangle. This value must be combined with <see cref="F:Microsoft.DirectX.Direct3D.DrawTextFormat.SingleLine" />.</summary>
<summary>Defines effect data types. This enumeration is used by the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/effectdefault.xml">EffectDefault</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/effectdefault/p/value.xml">Value</A> property.</summary>
<summary>Defines the types of events that can be keyed by the animation controller. This enumeration is used by the <A href="/directx/ref/ns/microsoft.directx.direct3d/s/eventdescription/eventdescription.xml">EventDescription</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/s/eventdescription/p/eventtype.xml">EventType</A> property, which can be passed to an <A href="/directx/ref/ns/microsoft.directx.direct3d/c/animationcontroller/animationcontroller.xml">AnimationController</A> class type.</summary>
<summary>Defines texture filtering modes for a texture stage. Each valid filter must contain exactly one of the following flags: <B>None</B>, <B>Point</B>, <B>Linear</B>, <B>Triangle</B>, or <B>Box</B>. In addition, the bitwise <b>OR</b> operator can be used to specify zero or more of the following optional flags with a valid filter: <B>MirrorU</B>, <B>MirrorV</B>, <B>MirrorW</B>, <B>Mirror</B>, or <B>Dither</B>.</summary>
<summary>Each pixel is computed by averaging a 2x2(x2) box of pixels from the source image. This filter works only when the dimensions of the destination are half those of the source, as is the case with Also known as MIP map (Latin: multum in parvo, translated as "much in little"). A sequence of textures, each of which is a progressively lower-resolution, prefiltered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away (and gets smaller), lower-resolution images are used..</summary>
<summary>Output data is in Standard color space that enables various devices including cameras, scanners, displays, and printers to produce reasonably identical colors. Optimized for 8 bits per channel with a gamma of 2.2, white point of D65, and primaries identical to HDTV/ITU-R BT.709/5. (gamma 2.2) color space.</summary>
<summary>Input data is in Standard color space that enables various devices including cameras, scanners, displays, and printers to produce reasonably identical colors. Optimized for 8 bits per channel with a gamma of 2.2, white point of D65, and primaries identical to HDTV/ITU-R BT.709/5. (gamma 2.2) color space.</summary>
<summary>Resulting image must be dithered using a 4x4 ordered Method to display a range of colors with a limited palette. Each pixel on the source image is represented by multiple pixels (usually a 2x2 square) on the destination image. From a distance, the eye blends the multiple pixels into one color that has more shades than the original palette. The technique results in a better visual appearance than the removal of low precision bits. See a standard graphics reference for details. Dithering is a supported option by DXSurface and objects. algorithm.</summary>
<summary>Same as specifying the <see cref="F:Microsoft.DirectX.Direct3D.Filter.MirrorU" />, <see cref="F:Microsoft.DirectX.Direct3D.Filter.MirrorV" />, and <see cref="F:Microsoft.DirectX.Direct3D.Filter.MirrorW" /> flags. This flag is always used internally for this function.</summary>
<summary>Method used to map a source image to a target image. This method uses the weighted average of the four nearest source pixels to define a target pixel. interpolation filtering is used as a texture magnification or minification filter. A weighted average of a 2x2 area of texels surrounding the desired pixel is used. The texture filter to use between mipmap levels is trilinear mipmap interpolation. The rasterizer interpolates pixel color in a linear manner, using the texels of the two nearest textures.</summary>
<summary>Specifies the level of font quality. In MicrosoftMicrosoft WindowsWindows XPWindows XP, the following situations do not support MicrosoftMicrosoft ClearTypeClearType antialiasing: Text rendered on a printer.A display set for 256 colors or less.Text rendered on a Terminal Server client.The font is not a TrueTypeTrueType font or an OpenType font with TrueTypeTrueType outlines. For example, the following do not support MicrosoftMicrosoft ClearTypeClearType antialiasing: Type 1 fonts, Postscript OpenType® fonts without TrueType® outlines, bitmap fonts, vector fonts, and device fonts.The font has tuned embedded bitmaps only for the font sizes that contain the embedded bitmaps. For example, this occurs commonly in East Asian fonts.</summary>
<summary>Text is rendered using the MicrosoftMicrosoft ClearTypeClearType antialiasing (smoothing) method when possible. The font quality is given more importance than maintaining the text size; thus, the text width can change. When using this mode for measuring and rendering, ensure that the application does not cache any layout information. If it does, remote users who do not have MicrosoftMicrosoft ClearTypeClearType enabled will view different width and metrics.</summary>
<summary>MicrosoftMicrosoft WindowsWindows XPWindows XP: Text is rendered using the MicrosoftMicrosoft ClearTypeClearType antialiasing method when possible. The font quality is given less importance than maintaining the text size.</summary>
<summary>MicrosoftMicrosoft Windows NTWindows NT 4.0 and later: Font is antialiased, if it supports antialiasing and if its size falls within the accepted range.MicrosoftMicrosoft WindowsWindows 95 with MicrosoftMicrosoft Plus!Plus!, MicrosoftMicrosoft WindowsWindows 98/MicrosoftMicrosoft WindowsWindows Millennium Edition (Windows Me)Windows Me: The display must be greater than 8-bit color, must be a single plane device, cannot be a palette display, and cannot be part of a multiple-display monitor setup. In addition, a TrueTypeTrueType font must be selected into a screen Data structure that defines the graphic objects, their associated attributes, and the graphic modes affecting output on a device. before it is used in a DIBSection (a structure that contains information about a device-independent bitmap); otherwise, antialiasing does not occur.</summary>
<summary>MicrosoftMicrosoft WindowsWindows 95 with MicrosoftMicrosoft Plus!Plus!, MicrosoftMicrosoft WindowsWindows 98/MicrosoftMicrosoft WindowsWindows Millennium Edition (Windows Me)Windows Me, MicrosoftMicrosoft Windows NTWindows NT 4.0 and later: Font is never antialiased.</summary>
<summary>Font's character quality is given more importance than exact matching of the logical-font attributes. For MicrosoftMicrosoft WindowsWindows Graphics Device Interface (GDI)GDI raster fonts, scaling is disabled and the font closest in size is chosen. Although this size might not correspond exactly when <see cref="F:Microsoft.DirectX.Direct3D.FontQuality.Proof" /> is used, the font's quality is high and its appearance is not distorted. Bold, italic, underline, and strikeout fonts are synthesized if necessary.</summary>
<summary>Font's appearance is given less importance than when the <see cref="F:Microsoft.DirectX.Direct3D.FontQuality.Proof" /> value is used. Scaling is enabled for MicrosoftMicrosoft WindowsWindows Graphics Device Interface (GDI)GDI raster fonts, which means that more font sizes are available, but their quality might be lower. Bold, italic, underline, and strikeout fonts are synthesized if necessary.</summary>
<summary>Defines flags for saving shader state. This enumeration is used in the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/effect/effect.xml">Effect</A> class to determine whether the state modified by an effect is saved and restored.</summary>
<summary>Shader state is not saved when calling <see cref="T:Microsoft.DirectX.Direct3D.Effect" />.<see cref="M:Microsoft.DirectX.Direct3D.Effect.Begin(Microsoft.DirectX.Direct3D.FX)" />, or restored when calling <see cref="T:Microsoft.DirectX.Direct3D.Effect" />.<see cref="M:Microsoft.DirectX.Direct3D.Effect.End" />.</summary>
<summary>Device state is not saved when calling <see cref="T:Microsoft.DirectX.Direct3D.Effect" />.<see cref="M:Microsoft.DirectX.Direct3D.Effect.Begin(Microsoft.DirectX.Direct3D.FX)" />, or restored when calling <see cref="T:Microsoft.DirectX.Direct3D.Effect" />.<see cref="M:Microsoft.DirectX.Direct3D.Effect.End" />.</summary>
<summary>Object that contains the pixel data of an image. The color and alpha of each pixel can be stored in different pixel formats. For more information, see "Surfaces" in the "DirectDraw Essentials" section of the Foundation . file format.</summary>
<summary>Defines an include file. This enumeration is used by the <A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/include.xml">Include</A>.<A href="/directx/ref/ns/microsoft.directx.direct3d/c/include/m/open.xml">Open</A> method.</summary>
<summary>Defines flags used to specify creation options for a mesh. A 32-bit mesh can theoretically support (232)-1 faces and vertices. However, allocating memory for such a large mesh is not practical on a 32-bit operating system.</summary>
<summary>Simplifies the mesh by the number of faces specified in the minValue parameter of the <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.Mesh.Simplify" /> method.</summary>
<summary>Simplifies the mesh by the number of vertices specified in the minValue parameter of the <see cref="F:Microsoft.DirectX.Direct3D.Mesh.Simplify.Mesh.Simplify" /> method.</summary>
<summary>Reorders faces to optimize for fewer attribute bundle state changes and enhanced <see cref="T:Microsoft.DirectX.Direct3D.BaseMesh" />.<see cref="M:Microsoft.DirectX.Direct3D.BaseMesh.DrawSubset(System.Int32)" /> performance.</summary>
<summary>Equivalent to specifying both <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.VbSoftwareProcessing" /> and <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.IbSoftwareProcessing" />.</summary>
<summary>Equivalent to specifying both <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.VbDynamic" /> and <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.IbDynamic" />.</summary>
<summary>Equivalent to specifying both <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.VbWriteOnly" /> and <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.IbWriteOnly" />.</summary>
<summary>Equivalent to specifying both <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.VbManaged" /> and <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.IbManaged" />.</summary>
<summary>Equivalent to specifying both <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.VbSystemMem" /> and <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.IbSystemMem" />.</summary>
<summary>Specifies use of hardware processing only. For mixed-mode devices, this flag causes the system to use hardware processing if it is supported, and software processing otherwise.</summary>
<summary>Causes the vertex and index buffer of the mesh to be created with the <see cref="F:Microsoft.DirectX.Direct3D.MeshFlags.NPatches" /> flag. This is required if the mesh object will be rendered using N-patch enhancement with MicrosoftMicrosoft Direct3DDirect3D.</summary>
<summary>Defines the flags used to convert a height map into a normal map. The (x,y,z) components of each normal are mapped to the (r,g,b) channels of the output texture.</summary>
<summary>Computes the per-pixel occlusion term and encodes it into the alpha. An alpha of 1 means that the pixel is not obscured in any way; an alpha of 0 means that the pixel is completely obscured.</summary>
<summary>Same as specifying <see cref="F:Microsoft.DirectX.Direct3D.NormalMap.MirrorU" /> and <see cref="F:Microsoft.DirectX.Direct3D.NormalMap.MirrorV" />.</summary>
<summary>Defines mesh patch types. Triangle patches are three-sided; rectangle patches are four-sided. For more information, see <see cref="T:Microsoft.DirectX.Direct3D.TrianglePatchInformation" /> and <see cref="T:Microsoft.DirectX.Direct3D.RectanglePatchInformation" />.</summary>
<summary>Defines font families.A font family is a set of fonts that have common stroke width and serif characteristics. There are five font families; a sixth family allows an application to use the default font.</summary>
<summary>Specifies a monospace font with or without serifs. Monospace fonts are usually modern; examples include Pica, Elite, and Courier New.</summary>
<summary>Specifies a generic family name, which is used when information about a font does not exist or does not matter. The default font is used.</summary>
<summary>Specifies the desired output precision. The output precision defines how closely the output must match the requested fonts height, width, character orientation, escapement, and pitch.</summary>
<summary>MicrosoftMicrosoft WindowsWindows 2000Windows 2000/MicrosoftMicrosoft WindowsWindows XP: When more than one font has a given name, choose a PostScript font if available.</summary>
<summary>MicrosoftMicrosoft Windows NTWindows NT/MicrosoftMicrosoft WindowsWindows 2000Windows 2000/MicrosoftMicrosoft WindowsWindows XP: This value instructs the font mapper to choose from TrueType and other outline-based fonts.</summary>
<summary>MicrosoftMicrosoft WindowsWindows 2000Windows 2000/MicrosoftMicrosoft WindowsWindows XP: When more than one font has a given name, use the TrueTypeTrueType font if available.</summary>
<summary>Specifies the font with a size (height and width) that most closely matches the requested size. The driver may disregard the requested orientation, but other attributes must match.</summary>
<summary>Specifies a font with a size (height and width) that most closely matches the requested size. The driver may disregard the requested orientation and escapement, but other attributes must match.</summary>
<summary>Defines the priority type an animation track is assigned to. Tracks with the same priority are blended together, and the two resulting values are then blended using the priority blend factor.</summary>
<summary>Instructs the compiler to skip optimization steps during code generation. This option is valid only when calling <see cref="T:Microsoft.DirectX.Direct3D.ShaderLoader" />.<see cref="M:Microsoft.DirectX.Direct3D.ShaderLoader.CompileShader" />; it is not recommended unless you are trying to isolate a code problem that you suspect originates in the compiler.</summary>
<summary>Prevents the compiler from validating the generated code against known capabilities and constraints. This option is recommended only when compiling shaders that are known to work (that is, those that have compiled before without this option). Shaders are always validated before they are set to the device.</summary>
<summary>Enables alpha blending with <see cref="T:Microsoft.DirectX.Direct3D.RenderStates" />.<see cref="P:Microsoft.DirectX.Direct3D.RenderStates.AlphaTestEnable" /> set to true (for nonzero alpha). <see cref="F:Microsoft.DirectX.Direct3D.Blend.SourceAlpha" /> is the source blend state, and <see cref="F:Microsoft.DirectX.Direct3D.Blend.InvSourceAlpha" /> is the destination blend state in calls to <see cref="T:Microsoft.DirectX.Direct3D.RenderStates" />. The<see cref="T:Microsoft.DirectX.Direct3D.Font" /> class requires this flag to be set when drawing text.</summary>
<summary>Sorts sprites by depth in back-to-front order prior to drawing. This option is recommended when drawing transparent sprites of varying depths.</summary>
<summary>Sorts sprites by depth in front-to-back order prior to drawing. This option is recommended when drawing opaque sprites of varying depths.</summary>
<summary>Sorts sprites by texture prior to drawing. This option is recommended when drawing non-overlapping sprites of uniform depth; for example, drawing screen-aligned text with <see cref="T:Microsoft.DirectX.Direct3D.Font" />.</summary>
<summary>Rotates each sprite around its center so that it is facing the viewer. <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.SetWorldViewLH(Microsoft.DirectX.Matrix,Microsoft.DirectX.Matrix)" /> or <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.SetWorldViewRH(Microsoft.DirectX.Matrix,Microsoft.DirectX.Matrix)" /> must be called first.</summary>
<summary>Specifies no modification of the world, view, and projection transforms. The transforms currently set to the device are used to transform sprites when the batched sprites are drawn (that is, when <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.Flush" /> or <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.End" /> is called). If this option is not specified, the world, view, and projection transforms are modified so that sprites are drawn in screen-space coordinates.</summary>
<summary>Specifies no changes to the device render state when <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.Begin(Microsoft.DirectX.Direct3D.SpriteFlags)" /> is called. The device is assumed to be in a valid state to draw vertices when the <see cref="T:Microsoft.DirectX.Direct3D.VertexElement" />.<see cref="P:Microsoft.DirectX.Direct3D.VertexElement.UsageIndex" /> property equals 0 and <see cref="T:Microsoft.DirectX.Direct3D.VertexElement" />.<see cref="P:Microsoft.DirectX.Direct3D.VertexElement.DeclarationUsage" /> is set to <see cref="F:Microsoft.DirectX.Direct3D.DeclarationUsage.DeclarationUsage.Position" />, <see cref="F:Microsoft.DirectX.Direct3D.DeclarationUsage.DeclarationUsage.TextureCoordinate" />, or <see cref="F:Microsoft.DirectX.Direct3D.DeclarationUsage.DeclarationUsage.Color" />.</summary>
<summary>Prevents the device state from being saved or restored when <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.Begin(Microsoft.DirectX.Direct3D.SpriteFlags)" /> or <see cref="T:Microsoft.DirectX.Direct3D.Sprite" />.<see cref="M:Microsoft.DirectX.Direct3D.Sprite.End" /> is called.</summary>
<summary>Defines the transition style between values of a mesh animation. The calculation for the ramp from ease-in to ease-out is calculated as follows.Q(t) = 2(x - y)t3 + 3(y - x)t2 + x.where the ramp is a function Q(t) with the following properties:Q(t) is a cubic spline.Q(t) interpolates between x and y as t ranges from 0 to 1.Q(t) is horizontal when t = 0 and t = 1.Mathematically, this translates into:Q(t) = At<sup>3</sup> + Bt<sup>2</sup> + Ct + D (and therefore, Q'(t) = 3At<sup>2</sup> + 2Bt + C)2a) Q(0) = x2b) Q(1) = y3a) Q'(0) = 03b) Q'(1) = 0Solving for A, B, C, D:D = x (from 2a)C = 0 (from 3a)3A + 2B = 0 (from 3b)A + B = y - x (from 2b and D = x)Therefore:A = 2(x - y), B = 3(y - x), C = 0, D = x.</summary>
<summary>Defines the options for welding vertices together. This enumeration is used with the <see cref="T:Microsoft.DirectX.Direct3D.Mesh" />.<see cref="M:Microsoft.DirectX.Direct3D.Mesh.WeldVertices" /> method.</summary>
<summary>Instructs the weld to allow vertices to be modified only, not removed. This flag is valid only if <see cref="F:Microsoft.DirectX.Direct3D.WeldEpsilonsFlags.WeldPartialMatches" /> is set. It is useful to modify vertices so that they are equal, but not to allow vertices to be removed.</summary>
<summary>Instructs the weld to allow vertices to be modified only, not removed. This flag is valid only if <see cref="F:Microsoft.DirectX.Direct3D.WeldEpsilonsFlags.WeldPartialMatches" /> is set. It is useful to modify vertices to be equal, but not to allow vertices to be removed.</summary>
<summary>If a given vertex component is within epsilon, instructs the weld to modify partially matched vertices so that both components are equal. If all components are equal, one of the vertices is removed.</summary>
<summary>Pointer to an array of values that identify each of the bones that can be drawn in a single drawing call. Note that the array can be of variable length to accommodate variable length bone combinations of SkininfoConvertToIndexedBlendedMeshGraphicsd3dx.</summary>
<summary>Retrieves or sets a fragment compile target. The compile target identifies the shader type (vertex or pixel) and the version number.</summary>
<summary>Represents the type of the texture stored in the file. It is either D3DRTYPE_TEXTURE, D3DRTYPE_VOLUMETEXTURE, or D3DRTYPE_CUBETEXTURE.</summary>
<summary>Describes a quaternion key for use in keyframe animation and specifies a quaternion value at a given time. This is used for rotation keys.</summary>
<summary>Describes a vector key for use in keyframe animation and specifies a vector at a given time. This is used for scale and translation keys.</summary>
<summary>Specifying this flag causes the vertex and index buffer of the mesh to be created with Usage.NPatches flag. This is required if the mesh object is to be rendered using N-patch enhancement using Microsoft® Direct3D®.</summary>
<summary>Retrieves the parameter class, which will be one of the values in the <see cref="T:Microsoft.DirectX.Direct3D.ParameterClass" /> enumeration.</summary>
<summary>Retrieves the parameter type, which will be one of the values in the <see cref="T:Microsoft.DirectX.Direct3D.ParameterType" /> enumeration.</summary>
<summary>Semantics map a parameter to vertex or pixel shader registers. They can also be optional descriptive strings attached to non-register parameters.</summary>