# C1.Util.DX.Direct3D11.ClassInstance

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct3D11_ClassInstance" data-uid="C1.Util.DX.Direct3D11.ClassInstance" class="text-break">ClassInstance Class
</h1>
  <div class="markdown level0 summary"><p>ID3D11ClassInstance</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.html">DeviceChild</a></div>
    <div class="level5"><span class="xref">ClassInstance</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Direct3D11.html">C1.Util.DX.Direct3D11</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_Direct3D11_ClassInstance_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;a6cd7faa-b0b7-4a2f-9436-8662a65797cb&quot;)]
public class ClassInstance : DeviceChild, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;a6cd7faa-b0b7-4a2f-9436-8662a65797cb&quot;)&gt;
Public Class ClassInstance
    Inherits DeviceChild
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance__ctor_System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.ClassInstance.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.-ctor.html#C1_Util_DX_Direct3D11_ClassInstance__ctor_System_IntPtr_">ClassInstance(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.html">ClassInstance</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_Description" data-uid="C1.Util.DX.Direct3D11.ClassInstance.Description">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.Description.html#C1_Util_DX_Direct3D11_ClassInstance_Description">Description</a>
        </td>
        <td class="markdown level1 summary"><p>GetDescription</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_InstanceName" data-uid="C1.Util.DX.Direct3D11.ClassInstance.InstanceName">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.InstanceName.html#C1_Util_DX_Direct3D11_ClassInstance_InstanceName">InstanceName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the instance name of the current HLSL class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_TypeName" data-uid="C1.Util.DX.Direct3D11.ClassInstance.TypeName">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.TypeName.html#C1_Util_DX_Direct3D11_ClassInstance_TypeName">TypeName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of the current HLSL class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_Create_C1_Util_DX_Direct3D11_ClassLinkage_System_String_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Util.DX.Direct3D11.ClassInstance.Create(C1.Util.DX.Direct3D11.ClassLinkage,System.String,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.Create.html#C1_Util_DX_Direct3D11_ClassInstance_Create_C1_Util_DX_Direct3D11_ClassLinkage_System_String_System_Int32_System_Int32_System_Int32_System_Int32_">Create(ClassLinkage, string, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a class-instance object that represents an HLSL class instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_GetClassLinkage" data-uid="C1.Util.DX.Direct3D11.ClassInstance.GetClassLinkage">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.GetClassLinkage.html#C1_Util_DX_Direct3D11_ClassInstance_GetClassLinkage">GetClassLinkage()</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3D11ClassInstance::GetClassLinkage([Out] ID3D11ClassLinkage** ppLinkage)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_GetDescription_C1_Util_DX_Direct3D11_ClassInstanceDescription__" data-uid="C1.Util.DX.Direct3D11.ClassInstance.GetDescription(C1.Util.DX.Direct3D11.ClassInstanceDescription@)">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.GetDescription.html#C1_Util_DX_Direct3D11_ClassInstance_GetDescription_C1_Util_DX_Direct3D11_ClassInstanceDescription__">GetDescription(out ClassInstanceDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3D11ClassInstance::GetDesc([Out] D3D11_CLASS_INSTANCE_DESC* pDesc)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_GetInstanceName_System_IntPtr_C1_Util_DX_PointerSize__" data-uid="C1.Util.DX.Direct3D11.ClassInstance.GetInstanceName(System.IntPtr,C1.Util.DX.PointerSize@)">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.GetInstanceName.html#C1_Util_DX_Direct3D11_ClassInstance_GetInstanceName_System_IntPtr_C1_Util_DX_PointerSize__">GetInstanceName(IntPtr, ref PointerSize)</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3D11ClassInstance::GetInstanceName([Out, Buffer, Optional] char* pInstanceName,[InOut] SIZE_T* pBufferLength)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_GetTypeName_System_IntPtr_C1_Util_DX_PointerSize__" data-uid="C1.Util.DX.Direct3D11.ClassInstance.GetTypeName(System.IntPtr,C1.Util.DX.PointerSize@)">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.GetTypeName.html#C1_Util_DX_Direct3D11_ClassInstance_GetTypeName_System_IntPtr_C1_Util_DX_PointerSize__">GetTypeName(IntPtr, ref PointerSize)</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3D11ClassInstance::GetTypeName([Out, Buffer, Optional] char* pTypeName,[InOut] SIZE_T* pBufferLength)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Direct3D11_ClassInstance_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_ClassInstance" data-uid="C1.Util.DX.Direct3D11.ClassInstance.op_Explicit(System.IntPtr)~C1.Util.DX.Direct3D11.ClassInstance">
          <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.op_Explicit.html#C1_Util_DX_Direct3D11_ClassInstance_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_ClassInstance">explicit operator ClassInstance(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a> to <a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.html">ClassInstance</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
