# C1.Util.DX.Direct3D11.Texture1D.Create

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct3D11_Texture1D_Create_" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct3D11_Texture1D_Create_" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create*"></a>
<h4 id="C1_Util_DX_Direct3D11_Texture1D_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Texture1DDescription__" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create(C1.Util.DX.Direct3D11.Device,C1.Util.DX.Direct3D11.Texture1DDescription@)">Create(Device, ref Texture1DDescription)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Texture1D Create(Device device, ref Texture1DDescription description)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(device As Device, ByRef description As Texture1DDescription) As Texture1D</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Device.html">Device</a></td>
      <td><span class="parametername">device</span></td>
      <td><p>The device with which to associate the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1DDescription.html">Texture1DDescription</a></td>
      <td><span class="parametername">description</span></td>
      <td><p>The description of the texture.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct3D11_Texture1D_Create_" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create*"></a>
<h4 id="C1_Util_DX_Direct3D11_Texture1D_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Texture1DDescription_C1_Util_DX_DataStream___" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create(C1.Util.DX.Direct3D11.Device,C1.Util.DX.Direct3D11.Texture1DDescription,C1.Util.DX.DataStream[])">Create(Device, Texture1DDescription, params DataStream[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Texture1D Create(Device device, Texture1DDescription description, params DataStream[] data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(device As Device, description As Texture1DDescription, ParamArray data As DataStream()) As Texture1D</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Device.html">Device</a></td>
      <td><span class="parametername">device</span></td>
      <td><p>The device with which to associate the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1DDescription.html">Texture1DDescription</a></td>
      <td><span class="parametername">description</span></td>
      <td><p>The description of the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DataStream.html">DataStream</a>[]</td>
      <td><span class="parametername">data</span></td>
      <td><p>An array of initial texture data for each subresource.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct3D11_Texture1D_Create_" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create*"></a>
<h4 id="C1_Util_DX_Direct3D11_Texture1D_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Texture1DDescription_System_IntPtr___" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create(C1.Util.DX.Direct3D11.Device,C1.Util.DX.Direct3D11.Texture1DDescription,System.IntPtr[])">Create(Device, Texture1DDescription, params IntPtr[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Texture1D Create(Device device, Texture1DDescription description, params IntPtr[] data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(device As Device, description As Texture1DDescription, ParamArray data As IntPtr()) As Texture1D</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Device.html">Device</a></td>
      <td><span class="parametername">device</span></td>
      <td><p>The device with which to associate the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1DDescription.html">Texture1DDescription</a></td>
      <td><span class="parametername">description</span></td>
      <td><p>The description of the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a>[]</td>
      <td><span class="parametername">data</span></td>
      <td><p>An array of initial texture data for each subresource.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct3D11_Texture1D_Create_" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create*"></a>
<h4 id="C1_Util_DX_Direct3D11_Texture1D_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Texture1DDescription_C1_Util_DX_DataBox___" data-uid="C1.Util.DX.Direct3D11.Texture1D.Create(C1.Util.DX.Direct3D11.Device,C1.Util.DX.Direct3D11.Texture1DDescription,C1.Util.DX.DataBox[])">Create(Device, Texture1DDescription, DataBox[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Texture1D Create(Device device, Texture1DDescription description, DataBox[] data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(device As Device, description As Texture1DDescription, data As DataBox()) As Texture1D</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Device.html">Device</a></td>
      <td><span class="parametername">device</span></td>
      <td><p>The device with which to associate the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1DDescription.html">Texture1DDescription</a></td>
      <td><span class="parametername">description</span></td>
      <td><p>The description of the texture.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DataBox.html">DataBox</a>[]</td>
      <td><span class="parametername">data</span></td>
      <td><p>An array of initial texture data for each subresource.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Texture1D.html">Texture1D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
