# C1.Util.DX.DataBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DataBox" data-uid="C1.Util.DX.DataBox" class="text-break">DataBox Struct
</h1>
  <div class="markdown level0 summary"><p>Provides access to data organized in 3D.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_DataBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct DataBox</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure DataBox</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_DataBox__ctor_System_IntPtr_" data-uid="C1.Util.DX.DataBox.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DataBox.-ctor.html#C1_Util_DX_DataBox__ctor_System_IntPtr_">DataBox(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DataBox.html">DataBox</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DataBox__ctor_System_IntPtr_System_Int32_System_Int32_" data-uid="C1.Util.DX.DataBox.#ctor(System.IntPtr,System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.DataBox.-ctor.html#C1_Util_DX_DataBox__ctor_System_IntPtr_System_Int32_System_Int32_">DataBox(nint, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DataBox.html">DataBox</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_DataBox_DataPointer" data-uid="C1.Util.DX.DataBox.DataPointer">
          <a class="xref" href="C1.Util.DX.DataBox.DataPointer.html">DataPointer</a>
        </td>
        <td class="markdown level1 summary"><p>Pointer to the data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DataBox_RowPitch" data-uid="C1.Util.DX.DataBox.RowPitch">
          <a class="xref" href="C1.Util.DX.DataBox.RowPitch.html">RowPitch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of bytes per row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DataBox_SlicePitch" data-uid="C1.Util.DX.DataBox.SlicePitch">
          <a class="xref" href="C1.Util.DX.DataBox.SlicePitch.html">SlicePitch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of bytes per slice (for a 3D texture, a slice is a 2D image)</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_DataBox_IsEmpty" data-uid="C1.Util.DX.DataBox.IsEmpty">
          <a class="xref" href="C1.Util.DX.DataBox.IsEmpty.html#C1_Util_DX_DataBox_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this instance is empty.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
