Sophie

Sophie

distrib > Mageia > 7 > x86_64 > media > nonfree-updates > by-pkgid > b86a85131cc739c1c53d0b55840a4328 > files > 1403

nvidia-cuda-toolkit-devel-10.1.168-1.2.mga7.nonfree.x86_64.rpm

<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
      <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
      <meta name="copyright" content="(C) Copyright 2005"></meta>
      <meta name="DC.rights.owner" content="(C) Copyright 2005"></meta>
      <meta name="DC.Type" content="cppModule"></meta>
      <meta name="DC.Title" content="Texture Reference Management [DEPRECATED]"></meta>
      <meta name="abstract" content=""></meta>
      <meta name="description" content=""></meta>
      <meta name="DC.Format" content="XHTML"></meta>
      <meta name="DC.Identifier" content="group__CUDA__TEXREF__DEPRECATED"></meta>
      <link rel="stylesheet" type="text/css" href="../common/formatting/commonltr.css"></link>
      <link rel="stylesheet" type="text/css" href="../common/formatting/site.css"></link>
      <title>CUDA Driver API :: CUDA Toolkit Documentation</title>
      <!--[if lt IE 9]>
      <script src="../common/formatting/html5shiv-printshiv.min.js"></script>
      <![endif]-->
      <script type="text/javascript" charset="utf-8" src="//assets.adobedtm.com/b92787824f2e0e9b68dc2e993f9bd995339fe417/satelliteLib-7ba51e58dc61bcb0e9311aadd02a0108ab24cc6c.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.min.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.ba-hashchange.min.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.scrollintoview.min.js"></script>
      <script type="text/javascript" src="../search/htmlFileList.js"></script>
      <script type="text/javascript" src="../search/htmlFileInfoList.js"></script>
      <script type="text/javascript" src="../search/nwSearchFnt.min.js"></script>
      <script type="text/javascript" src="../search/stemmers/en_stemmer.min.js"></script>
      <script type="text/javascript" src="../search/index-1.js"></script>
      <script type="text/javascript" src="../search/index-2.js"></script>
      <script type="text/javascript" src="../search/index-3.js"></script>
      <link rel="canonical" href="http://docs.nvidia.com/cuda/cuda-driver-api/index.html"></link>
      <link rel="stylesheet" type="text/css" href="../common/formatting/qwcode.highlight.css"></link>
   </head>
   <body>
      
      <header id="header"><span id="company">NVIDIA</span><span id="site-title">CUDA Toolkit Documentation</span><form id="search" method="get" action="search">
            <input type="text" name="search-text"></input><fieldset id="search-location">
               <legend>Search In:</legend>
               <label><input type="radio" name="search-type" value="site"></input>Entire Site</label>
               <label><input type="radio" name="search-type" value="document"></input>Just This Document</label></fieldset>
            <button type="reset">clear search</button>
            <button id="submit" type="submit">search</button></form>
      </header>
      <div id="site-content">
         <nav id="site-nav">
            <div class="category closed"><a href="../index.html" title="The root of the site.">CUDA Toolkit 
                  
                  
                  v10.1.168</a></div>
            <div class="category"><a href="index.html" title="CUDA Driver API">CUDA Driver API</a></div>
            <ul>
               <li>
                  <div class="section-link"><a href="driver-vs-runtime-api.html#driver-vs-runtime-api">1.&nbsp;Difference between the driver and runtime APIs </a></div>
               </li>
               <li>
                  <div class="section-link"><a href="api-sync-behavior.html#api-sync-behavior">2.&nbsp;API synchronization behavior </a></div>
               </li>
               <li>
                  <div class="section-link"><a href="stream-sync-behavior.html#stream-sync-behavior">3.&nbsp;Stream synchronization behavior</a></div>
               </li>
               <li>
                  <div class="section-link"><a href="graphs-thread-safety.html#graphs-thread-safety">4.&nbsp;Graph object thread safety</a></div>
               </li>
               <li>
                  <div class="section-link"><a href="modules.html#modules">5.&nbsp;Modules</a></div>
                  <ul>
                     <li>
                        <div class="section-link"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES">5.1.&nbsp;Data types used by CUDA driver</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__ERROR.html#group__CUDA__ERROR">5.2.&nbsp;Error Handling</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__INITIALIZE.html#group__CUDA__INITIALIZE">5.3.&nbsp;Initialization</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__VERSION.html#group__CUDA__VERSION">5.4.&nbsp;Version Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__DEVICE.html#group__CUDA__DEVICE">5.5.&nbsp;Device Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__DEVICE__DEPRECATED.html#group__CUDA__DEVICE__DEPRECATED">5.6.&nbsp;Device Management [DEPRECATED]</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__PRIMARY__CTX.html#group__CUDA__PRIMARY__CTX">5.7.&nbsp;Primary Context Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__CTX.html#group__CUDA__CTX">5.8.&nbsp;Context Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__CTX__DEPRECATED.html#group__CUDA__CTX__DEPRECATED">5.9.&nbsp;Context Management [DEPRECATED]</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__MODULE.html#group__CUDA__MODULE">5.10.&nbsp;Module Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__MEM.html#group__CUDA__MEM">5.11.&nbsp;Memory Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__UNIFIED.html#group__CUDA__UNIFIED">5.12.&nbsp;Unified Addressing</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__STREAM.html#group__CUDA__STREAM">5.13.&nbsp;Stream Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__EVENT.html#group__CUDA__EVENT">5.14.&nbsp;Event Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__EXTRES__INTEROP.html#group__CUDA__EXTRES__INTEROP">5.15.&nbsp;External Resource Interoperability</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__MEMOP.html#group__CUDA__MEMOP">5.16.&nbsp;Stream memory operations</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__EXEC.html#group__CUDA__EXEC">5.17.&nbsp;Execution Control</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__EXEC__DEPRECATED.html#group__CUDA__EXEC__DEPRECATED">5.18.&nbsp;Execution Control [DEPRECATED]</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__GRAPH.html#group__CUDA__GRAPH">5.19.&nbsp;Graph Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__OCCUPANCY.html#group__CUDA__OCCUPANCY">5.20.&nbsp;Occupancy</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED">5.21.&nbsp;Texture Reference Management [DEPRECATED]</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__SURFREF__DEPRECATED.html#group__CUDA__SURFREF__DEPRECATED">5.22.&nbsp;Surface Reference Management [DEPRECATED]</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__TEXOBJECT.html#group__CUDA__TEXOBJECT">5.23.&nbsp;Texture Object Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__SURFOBJECT.html#group__CUDA__SURFOBJECT">5.24.&nbsp;Surface Object Management</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__PEER__ACCESS.html#group__CUDA__PEER__ACCESS">5.25.&nbsp;Peer Context Memory Access</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__GRAPHICS.html#group__CUDA__GRAPHICS">5.26.&nbsp;Graphics Interoperability</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__PROFILER.html#group__CUDA__PROFILER">5.27.&nbsp;Profiler Control</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__GL.html#group__CUDA__GL">5.28.&nbsp;OpenGL Interoperability</a></div>
                        <ul>
                           <li>
                              <div class="section-link"><a href="group__CUDA__GL__DEPRECATED.html#group__CUDA__GL__DEPRECATED">5.28.1.&nbsp;OpenGL Interoperability [DEPRECATED]</a></div>
                           </li>
                        </ul>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__D3D9.html#group__CUDA__D3D9">5.29.&nbsp;Direct3D 9 Interoperability</a></div>
                        <ul>
                           <li>
                              <div class="section-link"><a href="group__CUDA__D3D9__DEPRECATED.html#group__CUDA__D3D9__DEPRECATED">5.29.1.&nbsp;Direct3D 9 Interoperability [DEPRECATED]</a></div>
                           </li>
                        </ul>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__D3D10.html#group__CUDA__D3D10">5.30.&nbsp;Direct3D 10 Interoperability</a></div>
                        <ul>
                           <li>
                              <div class="section-link"><a href="group__CUDA__D3D10__DEPRECATED.html#group__CUDA__D3D10__DEPRECATED">5.30.1.&nbsp;Direct3D 10 Interoperability [DEPRECATED]</a></div>
                           </li>
                        </ul>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__D3D11.html#group__CUDA__D3D11">5.31.&nbsp;Direct3D 11 Interoperability</a></div>
                        <ul>
                           <li>
                              <div class="section-link"><a href="group__CUDA__D3D11__DEPRECATED.html#group__CUDA__D3D11__DEPRECATED">5.31.1.&nbsp;Direct3D 11 Interoperability [DEPRECATED]</a></div>
                           </li>
                        </ul>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__VDPAU.html#group__CUDA__VDPAU">5.32.&nbsp;VDPAU Interoperability</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__CUDA__EGL.html#group__CUDA__EGL">5.33.&nbsp;EGL Interoperability</a></div>
                     </li>
                  </ul>
               </li>
               <li>
                  <div class="section-link"><a href="annotated.html#annotated">6.&nbsp;Data Structures</a></div>
                  <ul>
                     <li>
                        <div class="section-link"><a href="structCUDA__ARRAY3D__DESCRIPTOR.html#structCUDA__ARRAY3D__DESCRIPTOR">6.1.&nbsp;CUDA_ARRAY3D_DESCRIPTOR</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR">6.2.&nbsp;CUDA_ARRAY_DESCRIPTOR</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__EXTERNAL__MEMORY__BUFFER__DESC.html#structCUDA__EXTERNAL__MEMORY__BUFFER__DESC">6.3.&nbsp;CUDA_EXTERNAL_MEMORY_BUFFER_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__EXTERNAL__MEMORY__HANDLE__DESC.html#structCUDA__EXTERNAL__MEMORY__HANDLE__DESC">6.4.&nbsp;CUDA_EXTERNAL_MEMORY_HANDLE_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__EXTERNAL__MEMORY__MIPMAPPED__ARRAY__DESC.html#structCUDA__EXTERNAL__MEMORY__MIPMAPPED__ARRAY__DESC">6.5.&nbsp;CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__EXTERNAL__SEMAPHORE__HANDLE__DESC.html#structCUDA__EXTERNAL__SEMAPHORE__HANDLE__DESC">6.6.&nbsp;CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__EXTERNAL__SEMAPHORE__SIGNAL__PARAMS.html#structCUDA__EXTERNAL__SEMAPHORE__SIGNAL__PARAMS">6.7.&nbsp;CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__EXTERNAL__SEMAPHORE__WAIT__PARAMS.html#structCUDA__EXTERNAL__SEMAPHORE__WAIT__PARAMS">6.8.&nbsp;CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__HOST__NODE__PARAMS.html#structCUDA__HOST__NODE__PARAMS">6.9.&nbsp;CUDA_HOST_NODE_PARAMS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__KERNEL__NODE__PARAMS.html#structCUDA__KERNEL__NODE__PARAMS">6.10.&nbsp;CUDA_KERNEL_NODE_PARAMS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__LAUNCH__PARAMS.html#structCUDA__LAUNCH__PARAMS">6.11.&nbsp;CUDA_LAUNCH_PARAMS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__MEMCPY2D.html#structCUDA__MEMCPY2D">6.12.&nbsp;CUDA_MEMCPY2D</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__MEMCPY3D.html#structCUDA__MEMCPY3D">6.13.&nbsp;CUDA_MEMCPY3D</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__MEMCPY3D__PEER.html#structCUDA__MEMCPY3D__PEER">6.14.&nbsp;CUDA_MEMCPY3D_PEER</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__MEMSET__NODE__PARAMS.html#structCUDA__MEMSET__NODE__PARAMS">6.15.&nbsp;CUDA_MEMSET_NODE_PARAMS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__POINTER__ATTRIBUTE__P2P__TOKENS.html#structCUDA__POINTER__ATTRIBUTE__P2P__TOKENS">6.16.&nbsp;CUDA_POINTER_ATTRIBUTE_P2P_TOKENS</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__RESOURCE__DESC.html#structCUDA__RESOURCE__DESC">6.17.&nbsp;CUDA_RESOURCE_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__RESOURCE__VIEW__DESC.html#structCUDA__RESOURCE__VIEW__DESC">6.18.&nbsp;CUDA_RESOURCE_VIEW_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDA__TEXTURE__DESC.html#structCUDA__TEXTURE__DESC">6.19.&nbsp;CUDA_TEXTURE_DESC</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUdevprop.html#structCUdevprop">6.20.&nbsp;CUdevprop</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUeglFrame.html#structCUeglFrame">6.21.&nbsp;CUeglFrame</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUipcEventHandle.html#structCUipcEventHandle">6.22.&nbsp;CUipcEventHandle</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUipcMemHandle.html#structCUipcMemHandle">6.23.&nbsp;CUipcMemHandle</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="unionCUstreamBatchMemOpParams.html#unionCUstreamBatchMemOpParams">6.24.&nbsp;CUstreamBatchMemOpParams</a></div>
                     </li>
                  </ul>
               </li>
               <li>
                  <div class="section-link"><a href="functions.html#functions">7.&nbsp;Data Fields</a></div>
               </li>
               <li>
                  <div class="section-link"><a href="deprecated.html#deprecated">8.&nbsp;Deprecated List</a></div>
               </li>
               <li>
                  <div class="section-link"><a href="notices-header.html#notices-header">Notices</a></div>
                  <ul></ul>
               </li>
            </ul>
         </nav>
         <div id="resize-nav"></div>
         <nav id="search-results">
            <h2>Search Results</h2>
            <ol></ol>
         </nav>
         
         <div id="contents-container">
            <div id="breadcrumbs-container">
               <div id="breadcrumbs"><a href="group__CUDA__OCCUPANCY.html" shape="rect">&lt; Previous</a> | <a href="group__CUDA__SURFREF__DEPRECATED.html" shape="rect">Next &gt;</a></div>
               <div id="release-info">CUDA Driver API
                  (<a href="../../pdf/CUDA_Driver_API.pdf">PDF</a>)
                  -
                   
                  
                  
                  v10.1.168
                  (<a href="https://developer.nvidia.com/cuda-toolkit-archive">older</a>)
                  -
                  Last updated April 24, 2019
                  -
                  <a href="mailto:CUDAIssues@nvidia.com?subject=CUDA Toolkit Documentation Feedback: CUDA Driver API">Send Feedback</a></div>
            </div>
            <article id="contents">
               <div class="topic reference apiRef apiPackage cppModule" id="group__CUDA__TEXREF__DEPRECATED"><a name="group__CUDA__TEXREF__DEPRECATED" shape="rect">
                     <!-- --></a><h2 class="topictitle2 cppModule">5.21.&nbsp;Texture Reference Management [DEPRECATED]</h2>
                  <div class="section">
                     <p>This section describes the deprecated texture reference management functions of the low-level CUDA driver application programming
                        interface. 
                     </p>
                  </div>
                  <h3 class="fake_sectiontitle member_header">Functions</h3>
                  <dl class="members">
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g0084fabe2c6d28ffcf9d9f5c7164f16c" shape="rect">cuTexRefCreate</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Creates a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1gea8edbd6cf9f97e6ab2b41fc6785519d" shape="rect">cuTexRefDestroy</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Destroys a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" shape="rect">cuTexRefGetAddress</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pdptr</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the address associated with a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" shape="rect">cuTexRefGetAddressMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pam</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the addressing mode used by a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" shape="rect">cuTexRefGetArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the array bound to a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g33c56ad2b999c59adce2bfba709ab292" shape="rect">cuTexRefGetBorderColor</a> (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pBorderColor</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the border color used by a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" shape="rect">cuTexRefGetFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the filter-mode used by a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" shape="rect">cuTexRefGetFlags</a> (  unsigned int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFlags</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the flags used by a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" shape="rect">cuTexRefGetFormat</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFormat</span>, int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pNumChannels</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the format used by a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g56f52273c1b456d5a2cf7a85d86d0205" shape="rect">cuTexRefGetMaxAnisotropy</a> (  int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxAniso</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the maximum anisotropy for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g60d45fe9ff9be6f92ea20e37a03e06d7" shape="rect">cuTexRefGetMipmapFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the mipmap filtering mode for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1ge32365ea560887c59be72ccd431e5c04" shape="rect">cuTexRefGetMipmapLevelBias</a> (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pbias</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the mipmap level bias for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g3dc6275f3b0d6f0b2adc7bb7e489f8d2" shape="rect">cuTexRefGetMipmapLevelClamp</a> (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pminMipmapLevelClamp</span>, float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxMipmapLevelClamp</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the min/max mipmap level clamps for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1ged9eaa907457a9bbb0d244b93a42dd79" shape="rect">cuTexRefGetMipmappedArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phMipmappedArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Gets the mipmapped array bound to a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" shape="rect">cuTexRefSetAddress</a> (  size_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ByteOffset</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">bytes</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Binds an address as a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" shape="rect">cuTexRefSetAddress2D</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, const <a href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR" title="" shape="rect">CUDA_ARRAY_DESCRIPTOR</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">desc</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">Pitch</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Binds an address as a 2D texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" shape="rect">cuTexRefSetAddressMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">am</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the addressing mode for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" shape="rect">cuTexRefSetArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Binds an array as a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1gf1dbbdef278be3592780b0a7cc2e1c67" shape="rect">cuTexRefSetBorderColor</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pBorderColor</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the border color for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" shape="rect">cuTexRefSetFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the filtering mode for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" shape="rect">cuTexRefSetFlags</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the flags for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" shape="rect">cuTexRefSetFormat</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fmt</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">NumPackedComponents</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the format for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g623f5c00b1b2a883f3bddfc1792c85da" shape="rect">cuTexRefSetMaxAnisotropy</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">maxAniso</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the maximum anisotropy for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1ge6238426775fa672a1518fe9828f2d76" shape="rect">cuTexRefSetMipmapFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the mipmap filtering mode for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g3be1de86e98d39c3a6b59c11cca5b77d" shape="rect">cuTexRefSetMipmapLevelBias</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">bias</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the mipmap level bias for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1gf7354fa837b181a8b094b99654b14086" shape="rect">cuTexRefSetMipmapLevelClamp</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">minMipmapLevelClamp</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">maxMipmapLevelClamp</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets the mipmap min/max mipmap level clamps for a texture reference. </span></dd>
                     <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF__DEPRECATED_1g8a550f19ff84858a396f79a526fd3406" shape="rect">cuTexRefSetMipmappedArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hMipmappedArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Binds a mipmapped array to a texture reference. </span></dd>
                  </dl>
                  <div class="description">
                     <h3 class="sectiontitle">Functions</h3>
                     <dl class="description">
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g0084fabe2c6d28ffcf9d9f5c7164f16c" id="group__CUDA__TEXREF__DEPRECATED_1g0084fabe2c6d28ffcf9d9f5c7164f16c" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefCreate (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Creates a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pTexRef</span></tt></dt>
                                 <dd>- Returned texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000040" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Creates a texture reference and returns its handle in <tt class="ph tt code">*pTexRef</tt>. Once created, the application must call <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray()</a> or <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress()</a> to associate the reference with allocated memory. Other texture reference functions are used to specify the format and interpretation
                              (addressing, filtering, etc.) to be used when the memory is read through this texture reference.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gea8edbd6cf9f97e6ab2b41fc6785519d" title="Destroys a texture reference." shape="rect">cuTexRefDestroy</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1gea8edbd6cf9f97e6ab2b41fc6785519d" id="group__CUDA__TEXREF__DEPRECATED_1gea8edbd6cf9f97e6ab2b41fc6785519d" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefDestroy (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Destroys a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference to destroy</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000041" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Destroys the texture reference specified by <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g0084fabe2c6d28ffcf9d9f5c7164f16c" title="Creates a texture reference." shape="rect">cuTexRefCreate</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" id="group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetAddress (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pdptr</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the address associated with a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pdptr</span></tt></dt>
                                 <dd>- Returned device address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000028" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*pdptr</tt> the base address bound to the texture reference <tt class="ph tt code">hTexRef</tt>, or returns <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> if the texture reference is not bound to any device memory range.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" id="group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetAddressMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pam</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the addressing mode used by a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pam</span></tt></dt>
                                 <dd>- Returned addressing mode </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dim</span></tt></dt>
                                 <dd>- Dimension</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000031" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*pam</tt> the addressing mode corresponding to the dimension <tt class="ph tt code">dim</tt> of the texture reference <tt class="ph tt code">hTexRef</tt>. Currently, the only valid value for <tt class="ph tt code">dim</tt> are 0 and 1.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" id="group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the array bound to a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">phArray</span></tt></dt>
                                 <dd>- Returned array </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000029" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*phArray</tt> the CUDA array bound to the texture reference <tt class="ph tt code">hTexRef</tt>, or returns <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> if the texture reference is not bound to any CUDA array.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g33c56ad2b999c59adce2bfba709ab292" id="group__CUDA__TEXREF__DEPRECATED_1g33c56ad2b999c59adce2bfba709ab292" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetBorderColor (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pBorderColor</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the border color used by a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pBorderColor</span></tt></dt>
                                 <dd>- Returned Type and Value of RGBA color</dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000038" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">pBorderColor</tt>, values of the RGBA color used by the texture reference <tt class="ph tt code">hTexRef</tt>. The color value is of type float and holds color components in the following sequence: pBorderColor[0] holds 'R' component
                              pBorderColor[1] holds 'G' component pBorderColor[2] holds 'B' component pBorderColor[3] holds 'A' component
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gf1dbbdef278be3592780b0a7cc2e1c67" title="Sets the border color for a texture reference." shape="rect">cuTexRefSetBorderColor</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" id="group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the filter-mode used by a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pfm</span></tt></dt>
                                 <dd>- Returned filtering mode </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000032" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*pfm</tt> the filtering mode of the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" id="group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetFlags (  unsigned int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFlags</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the flags used by a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pFlags</span></tt></dt>
                                 <dd>- Returned flags </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000039" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*pFlags</tt> the flags of the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" id="group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetFormat (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFormat</span>, int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pNumChannels</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the format used by a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pFormat</span></tt></dt>
                                 <dd>- Returned format </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pNumChannels</span></tt></dt>
                                 <dd>- Returned number of components </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000033" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*pFormat</tt> and <tt class="ph tt code">*pNumChannels</tt> the format and number of components of the CUDA array bound to the texture reference <tt class="ph tt code">hTexRef</tt>. If <tt class="ph tt code">pFormat</tt> or <tt class="ph tt code">pNumChannels</tt> is NULL, it will be ignored.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g56f52273c1b456d5a2cf7a85d86d0205" id="group__CUDA__TEXREF__DEPRECATED_1g56f52273c1b456d5a2cf7a85d86d0205" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMaxAnisotropy (  int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxAniso</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the maximum anisotropy for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pmaxAniso</span></tt></dt>
                                 <dd>- Returned maximum anisotropy </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000037" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns the maximum anisotropy in <tt class="ph tt code">pmaxAniso</tt> that's used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g60d45fe9ff9be6f92ea20e37a03e06d7" id="group__CUDA__TEXREF__DEPRECATED_1g60d45fe9ff9be6f92ea20e37a03e06d7" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmapFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the mipmap filtering mode for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pfm</span></tt></dt>
                                 <dd>- Returned mipmap filtering mode </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000034" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns the mipmap filtering mode in <tt class="ph tt code">pfm</tt> that's used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1ge32365ea560887c59be72ccd431e5c04" id="group__CUDA__TEXREF__DEPRECATED_1ge32365ea560887c59be72ccd431e5c04" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmapLevelBias (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pbias</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the mipmap level bias for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pbias</span></tt></dt>
                                 <dd>- Returned mipmap level bias </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000035" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns the mipmap level bias in <tt class="ph tt code">pBias</tt> that's added to the specified mipmap level when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g3dc6275f3b0d6f0b2adc7bb7e489f8d2" id="group__CUDA__TEXREF__DEPRECATED_1g3dc6275f3b0d6f0b2adc7bb7e489f8d2" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmapLevelClamp (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pminMipmapLevelClamp</span>, float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxMipmapLevelClamp</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the min/max mipmap level clamps for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pminMipmapLevelClamp</span></tt></dt>
                                 <dd>- Returned mipmap min level clamp </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pmaxMipmapLevelClamp</span></tt></dt>
                                 <dd>- Returned mipmap max level clamp </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000036" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns the min/max mipmap level clamps in <tt class="ph tt code">pminMipmapLevelClamp</tt> and <tt class="ph tt code">pmaxMipmapLevelClamp</tt> that's used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1ged9eaa907457a9bbb0d244b93a42dd79" id="group__CUDA__TEXREF__DEPRECATED_1ged9eaa907457a9bbb0d244b93a42dd79" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmappedArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phMipmappedArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Gets the mipmapped array bound to a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">phMipmappedArray</span></tt></dt>
                                 <dd>- Returned mipmapped array </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000030" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Returns in <tt class="ph tt code">*phMipmappedArray</tt> the CUDA mipmapped array bound to the texture reference <tt class="ph tt code">hTexRef</tt>, or returns <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> if the texture reference is not bound to any CUDA mipmapped array.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" id="group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetAddress (  size_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ByteOffset</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">bytes</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Binds an address as a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ByteOffset</span></tt></dt>
                                 <dd>- Returned byte offset </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dptr</span></tt></dt>
                                 <dd>- Device pointer to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">bytes</span></tt></dt>
                                 <dd>- Size of memory to bind in bytes</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000017" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Binds a linear address range to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. Any memory
                              previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                              <p class="p">Since the hardware enforces an alignment requirement on texture base addresses, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress()</a> passes back a byte offset in <tt class="ph tt code">*ByteOffset</tt> that must be applied to texture fetches in order to read from the desired memory. This offset must be divided by the texel
                                 size and passed to kernels that read from the texture so they can be applied to the tex1Dfetch() function.
                              </p>
                              <p class="p">If the device memory pointer was returned from <a class="xref" href="group__CUDA__MEM.html#group__CUDA__MEM_1gb82d2a09844a58dd9e744dc31e8aa467" title="Allocates device memory." shape="rect">cuMemAlloc()</a>, the offset is guaranteed to be 0 and NULL may be passed as the <tt class="ph tt code">ByteOffset</tt> parameter.
                              </p>
                              <p class="p">The total number of elements (or texels) in the linear address range cannot exceed <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3335584a4bc5128e2a5ae9a4417f5b758" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH</a>. The number of elements is computed as (<tt class="ph tt code">bytes</tt> / bytesPerElement), where bytesPerElement is determined from the data format and number of components set using <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat()</a>.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1ge1bd59deb0fc322b4b5f17a874299d86" target="_blank" shape="rect">cudaBindTexture</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" id="group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetAddress2D (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, const <a href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR" title="" shape="rect">CUDA_ARRAY_DESCRIPTOR</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">desc</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">Pitch</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Binds an address as a 2D texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">desc</span></tt></dt>
                                 <dd>- Descriptor of CUDA array </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dptr</span></tt></dt>
                                 <dd>- Device pointer to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">Pitch</span></tt></dt>
                                 <dd>- Line pitch in bytes</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000018" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Binds a linear address range to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. Any memory
                              previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                              <p class="p">Using a tex2D() function inside a kernel requires a call to either <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray()</a> to bind the corresponding texture reference to an array, or <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D()</a> to bind the texture reference to linear memory.
                              </p>
                              <p class="p">Function calls to <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat()</a> cannot follow calls to <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D()</a> for the same texture reference.
                              </p>
                              <p class="p">It is required that <tt class="ph tt code">dptr</tt> be aligned to the appropriate hardware-specific texture alignment. You can query this value using the device attribute <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a39531a2b5f533e749109e9e0189f38196" shape="rect">CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT</a>. If an unaligned <tt class="ph tt code">dptr</tt> is supplied, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> is returned.
                              </p>
                              <p class="p"><tt class="ph tt code">Pitch</tt> has to be aligned to the hardware-specific texture pitch alignment. This value can be queried using the device attribute
                                 <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3551f1067be9a6187d75da5fcda7960d0" shape="rect">CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT</a>. If an unaligned <tt class="ph tt code">Pitch</tt> is supplied, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> is returned.
                              </p>
                              <p class="p">Width and Height, which are specified in elements (or texels), cannot exceed <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3afe638125896be2c465876a4955d699e" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH</a> and <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3ff1c959cba47edce2374f66f161489c4" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT</a> respectively. <tt class="ph tt code">Pitch</tt>, which is specified in bytes, cannot exceed <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3ad66050d059c337dd9635bfb7574f3d7" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH</a>.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc84e73a9e7fe5786686e2b0931cbafa5" target="_blank" shape="rect">cudaBindTexture2D</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" id="group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetAddressMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">am</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the addressing mode for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dim</span></tt></dt>
                                 <dd>- Dimension </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">am</span></tt></dt>
                                 <dd>- Addressing mode to set</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000020" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the addressing mode <tt class="ph tt code">am</tt> for the given dimension <tt class="ph tt code">dim</tt> of the texture reference <tt class="ph tt code">hTexRef</tt>. If <tt class="ph tt code">dim</tt> is zero, the addressing mode is applied to the first parameter of the functions used to fetch from the texture; if <tt class="ph tt code">dim</tt> is 1, the second, and so on. <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" shape="rect">CUaddress_mode</a> is defined as: <pre xml:space="preserve">‎   typedef enum CUaddress_mode_enum {
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff760888787d43274db1dfed07818895b04197fcb" shape="rect">CU_TR_ADDRESS_MODE_WRAP</a> = 0,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff76088878ed20ebe21592443f61ecc06d61f32f4" shape="rect">CU_TR_ADDRESS_MODE_CLAMP</a> = 1,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff76088872490f71f92668604bd10d49d77d198b8" shape="rect">CU_TR_ADDRESS_MODE_MIRROR</a> = 2,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff7608887ccee8c7882028f0865e8a2e542524fa4" shape="rect">CU_TR_ADDRESS_MODE_BORDER</a> = 3
         } <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" shape="rect">CUaddress_mode</a>;</pre><p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is bound to linear memory. Also, if the flag, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g7a19eb49fd506ecded6e8f314298d486" shape="rect">CU_TRSF_NORMALIZED_COORDINATES</a>, is not set, the only supported address mode is <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff76088878ed20ebe21592443f61ecc06d61f32f4" shape="rect">CU_TR_ADDRESS_MODE_CLAMP</a>.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1ge1bd59deb0fc322b4b5f17a874299d86" target="_blank" shape="rect">cudaBindTexture</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc84e73a9e7fe5786686e2b0931cbafa5" target="_blank" shape="rect">cudaBindTexture2D</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" id="group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Binds an array as a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hArray</span></tt></dt>
                                 <dd>- Array to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">Flags</span></tt></dt>
                                 <dd>- Options (must be <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>)
                                 </dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000015" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Binds the CUDA array <tt class="ph tt code">hArray</tt> to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. <tt class="ph tt code">Flags</tt> must be set to <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>. Any CUDA array previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1gf1dbbdef278be3592780b0a7cc2e1c67" id="group__CUDA__TEXREF__DEPRECATED_1gf1dbbdef278be3592780b0a7cc2e1c67" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetBorderColor (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pBorderColor</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the border color for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pBorderColor</span></tt></dt>
                                 <dd>- RGBA color</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000026" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the value of the RGBA color via the <tt class="ph tt code">pBorderColor</tt> to the texture reference <tt class="ph tt code">hTexRef</tt>. The color value supports only float type and holds color components in the following sequence: pBorderColor[0] holds 'R'
                              component pBorderColor[1] holds 'G' component pBorderColor[2] holds 'B' component pBorderColor[3] holds 'A' component
                              <p class="p">Note that the color values can be set only when the Address mode is set to CU_TR_ADDRESS_MODE_BORDER using <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>. Applications using integer border color values have to "reinterpret_cast" their values to float.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g33c56ad2b999c59adce2bfba709ab292" title="Gets the border color used by a texture reference." shape="rect">cuTexRefGetBorderColor</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1ge1bd59deb0fc322b4b5f17a874299d86" target="_blank" shape="rect">cudaBindTexture</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc84e73a9e7fe5786686e2b0931cbafa5" target="_blank" shape="rect">cudaBindTexture2D</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" id="group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the filtering mode for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">fm</span></tt></dt>
                                 <dd>- Filtering mode to set</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000021" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the filtering mode <tt class="ph tt code">fm</tt> to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>. CUfilter_mode_enum is defined as:
                              <p class="p"><pre xml:space="preserve">‎   typedef enum CUfilter_mode_enum {
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2ae1e747d9e41685f6b6a5b85baf43e60d" shape="rect">CU_TR_FILTER_MODE_POINT</a> = 0,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2a517adfbd8a0e09592378d77ba2d922d8" shape="rect">CU_TR_FILTER_MODE_LINEAR</a> = 1
         } <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" shape="rect">CUfilter_mode</a>;</pre></p>
                              <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is bound to linear memory.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" id="group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetFlags (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the flags for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">Flags</span></tt></dt>
                                 <dd>- Optional flags to set</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000027" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies optional flags via <tt class="ph tt code">Flags</tt> to specify the behavior of data returned through the texture reference <tt class="ph tt code">hTexRef</tt>. The valid flags are:
                              <p class="p">
                                 <ul class="ul">
                                    <li class="li">
                                       <p class="p"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g6d2387c1b5dd5bc98f5b4c51cefdf41e" shape="rect">CU_TRSF_READ_AS_INTEGER</a>, which suppresses the default behavior of having the texture promote integer data to floating point data in the range [0,
                                          1]. Note that texture with 32-bit integer format would not be promoted, regardless of whether or not this flag is specified;
                                       </p>
                                    </li>
                                    <li class="li">
                                       <p class="p"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g7a19eb49fd506ecded6e8f314298d486" shape="rect">CU_TRSF_NORMALIZED_COORDINATES</a>, which suppresses the default behavior of having the texture coordinates range from [0, Dim) where Dim is the width or height
                                          of the CUDA array. Instead, the texture coordinates [0, 1.0) reference the entire breadth of the array dimension;
                                       </p>
                                    </li>
                                 </ul>
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1ge1bd59deb0fc322b4b5f17a874299d86" target="_blank" shape="rect">cudaBindTexture</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc84e73a9e7fe5786686e2b0931cbafa5" target="_blank" shape="rect">cudaBindTexture2D</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" id="group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetFormat (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fmt</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">NumPackedComponents</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the format for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">fmt</span></tt></dt>
                                 <dd>- Format to set </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">NumPackedComponents</span></tt></dt>
                                 <dd>- Number of components per array element</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000019" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the format of the data to be read by the texture reference <tt class="ph tt code">hTexRef</tt>. <tt class="ph tt code">fmt</tt> and <tt class="ph tt code">NumPackedComponents</tt> are exactly analogous to the Format and NumChannels members of the <a class="xref" href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR" shape="rect">CUDA_ARRAY_DESCRIPTOR</a> structure: They specify the format of each component and the number of components per array element.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g655725c27d8ffe75accb9b531ecf2d15" target="_blank" shape="rect">cudaCreateChannelDesc</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1ge1bd59deb0fc322b4b5f17a874299d86" target="_blank" shape="rect">cudaBindTexture</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc84e73a9e7fe5786686e2b0931cbafa5" target="_blank" shape="rect">cudaBindTexture2D</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g623f5c00b1b2a883f3bddfc1792c85da" id="group__CUDA__TEXREF__DEPRECATED_1g623f5c00b1b2a883f3bddfc1792c85da" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMaxAnisotropy (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">maxAniso</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the maximum anisotropy for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">maxAniso</span></tt></dt>
                                 <dd>- Maximum anisotropy</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000025" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the maximum anisotropy <tt class="ph tt code">maxAniso</tt> to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is bound to linear memory.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1g90e8cee9b3adc32bf7edde69816f5772" target="_blank" shape="rect">cudaBindTextureToArray</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1ge6238426775fa672a1518fe9828f2d76" id="group__CUDA__TEXREF__DEPRECATED_1ge6238426775fa672a1518fe9828f2d76" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmapFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the mipmap filtering mode for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">fm</span></tt></dt>
                                 <dd>- Filtering mode to set</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000022" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the mipmap filtering mode <tt class="ph tt code">fm</tt> to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>. CUfilter_mode_enum is defined as:
                              <p class="p"><pre xml:space="preserve">‎   typedef enum CUfilter_mode_enum {
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2ae1e747d9e41685f6b6a5b85baf43e60d" shape="rect">CU_TR_FILTER_MODE_POINT</a> = 0,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2a517adfbd8a0e09592378d77ba2d922d8" shape="rect">CU_TR_FILTER_MODE_LINEAR</a> = 1
         } <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" shape="rect">CUfilter_mode</a>;</pre></p>
                              <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is not bound to a mipmapped array.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g3be1de86e98d39c3a6b59c11cca5b77d" id="group__CUDA__TEXREF__DEPRECATED_1g3be1de86e98d39c3a6b59c11cca5b77d" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmapLevelBias (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">bias</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the mipmap level bias for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">bias</span></tt></dt>
                                 <dd>- Mipmap level bias</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000023" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the mipmap level bias <tt class="ph tt code">bias</tt> to be added to the specified mipmap level when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is not bound to a mipmapped array.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1gf7354fa837b181a8b094b99654b14086" id="group__CUDA__TEXREF__DEPRECATED_1gf7354fa837b181a8b094b99654b14086" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmapLevelClamp (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">minMipmapLevelClamp</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">maxMipmapLevelClamp</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Sets the mipmap min/max mipmap level clamps for a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">minMipmapLevelClamp</span></tt></dt>
                                 <dd>- Mipmap min level clamp </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">maxMipmapLevelClamp</span></tt></dt>
                                 <dd>- Mipmap max level clamp</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000024" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Specifies the min/max mipmap level clamps, <tt class="ph tt code">minMipmapLevelClamp</tt> and <tt class="ph tt code">maxMipmapLevelClamp</tt> respectively, to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                              <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is not bound to a mipmapped array.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__CUDA__TEXREF__DEPRECATED_1g8a550f19ff84858a396f79a526fd3406" id="group__CUDA__TEXREF__DEPRECATED_1g8a550f19ff84858a396f79a526fd3406" shape="rect">
                              <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmappedArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hMipmappedArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                        <dd class="description">
                           <div class="section">Binds a mipmapped array to a texture reference. </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                                 <dd>- Texture reference to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">hMipmappedArray</span></tt></dt>
                                 <dd>- Mipmapped array to bind </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">Flags</span></tt></dt>
                                 <dd>- Options (must be <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>)
                                 </dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                           </div>
                           <div class="section">
                              <h6 class="deprecated_header"><a class="xref xrefsect-title" href="deprecated.html#deprecated__deprecated_1_deprecated000016" shape="rect">Deprecated</a></h6>
                              <p></p>
                              <h6 class="description_header">Description</h6>Binds the CUDA mipmapped array <tt class="ph tt code">hMipmappedArray</tt> to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. <tt class="ph tt code">Flags</tt> must be set to <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>. Any CUDA array previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a>, <a class="xref" href="../cuda-runtime-api/group__CUDART__HIGHLEVEL.html#group__CUDART__HIGHLEVEL_1gc4fc1eb34bcf2f828d52cea12d498e19" target="_blank" shape="rect">cudaBindTextureToMipmappedArray</a></p>
                              <p class="p"></p>
                           </div>
                        </dd>
                     </dl>
                  </div>
               </div>
               
               <hr id="contents-end"></hr>
               
            </article>
         </div>
      </div>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/formatting/common.min.js"></script>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/scripts/google-analytics/google-analytics-write.js"></script>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/scripts/google-analytics/google-analytics-tracker.js"></script>
      <script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher: "998dc202-a267-4d8e-bce9-14debadb8d92", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script><script type="text/javascript">_satellite.pageBottom();</script></body>
</html>