1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7<title>CopyTexture2DResourceBlockToLinear</title> 8 </head> 9 <body> 10<h1>nn::gd::CTR::Memory::CopyTexture2DResourceBlockToLinear Member Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14static <a href="../../../../nnResult/Overview.html">nnResult</a> CopyTexture2DResourceBlockToLinear( 15 const Texture2DResource * source, 16 s32 srcMipLevelIndex, 17 u32 srcOffestY, 18 s32 srcCountRow, 19 const Texture2DResource * dest, 20 s32 dstMipLevelIndex, 21 u32 dstOffestY, 22 <a href="../../../../nn/gd/CTR/Memory/DownScalingMode.html">DownScalingMode</a> downScalingMode, 23 <span>gdBool</span> yFlip 24); 25static <a href="../../../../nnResult/Overview.html">nnResult</a> CopyTexture2DResourceBlockToLinear( 26 const Texture2DResource * source, 27 s32 srcMipLevelIndex, 28 u32 srcOffestY, 29 u8 * dstAddr, 30 u32 dstWidth, 31 u32 dstHeight, 32 u32 dstFormat, 33 <a href="../../../../nn/gd/CTR/Memory/DownScalingMode.html">DownScalingMode</a> downScalingMode, 34 <span>gdBool</span> yFlip 35); 36</pre> 37 </div> 38<h2>List of Overloaded Member Functions</h2> 39 <div class="section"> 40 <table class="members"> 41 <tr> 42 <td> 43<a href="./CopyTexture2DResourceBlockToLinear(0).html">CopyTexture2DResourceBlockToLinear ( const Texture2DResource *, s32, u32, s32, const Texture2DResource *, s32, u32, DownScalingMode, gdBool ) </a> 44 </td> 45<td>Adds a command for converting the source <CODE>Texture2DResource</CODE> resource from a block image to a linear image and transferring it to the destination <CODE>Texture2DResource</CODE>. </td> 46 </tr> 47 <tr> 48 <td> 49<a href="./CopyTexture2DResourceBlockToLinear(1).html">CopyTexture2DResourceBlockToLinear ( const Texture2DResource *, s32, u32, u8 *, u32, u32, u32, DownScalingMode, gdBool ) </a> 50 </td> 51<td>Adds a command for converting the source <CODE>Texture2DResource</CODE> resource from a block image to a linear image and transferring it to the specified address. </td> 52 </tr> </table> 53 </div> 54<h2>Description of CopyTexture2DResourceBlockToLinear ( const Texture2DResource *, s32, u32, s32, const Texture2DResource *, s32, u32, DownScalingMode, gdBool )</h2> 55<div class="section"><p>Pixel formats that can be specified for the source and destination: <br /><itemizedlist><listitem><para>NATIVE_FORMAT_RGBA_8888 <br /></para></listitem><listitem><para>NATIVE_FORMAT_RGB_888 <br /></para></listitem><listitem><para>NATIVE_FORMAT_RGBA_4444 <br /></para></listitem><listitem><para>NATIVE_FORMAT_RGBA_5551 <br /></para></listitem><listitem><para>NATIVE_FORMAT_RGB_565 <br /> . <br /></para></listitem></itemizedlist></p><!-- write here --></div> 56<h2>Description of CopyTexture2DResourceBlockToLinear ( const Texture2DResource *, s32, u32, u8 *, u32, u32, u32, DownScalingMode, gdBool )</h2> 57<div class="section"><p>Pixel formats that can be specified for the source and destination:<br /><itemizedlist><listitem><para><CODE>NATIVE_FORMAT_RGBA_8888</CODE> <br /></para></listitem><listitem><para><CODE>NATIVE_FORMAT_RGB_888</CODE> <br /></para></listitem><listitem><para><CODE>NATIVE_FORMAT_RGBA_4444</CODE> <br /></para></listitem><listitem><para><CODE>NATIVE_FORMAT_RGBA_5551 </CODE><br /></para></listitem><listitem><para><CODE>NATIVE_FORMAT_RGB_565</CODE> <br /> . <br /></para></listitem></itemizedlist></p><!-- write here --></div> 58 <hr><p>CONFIDENTIAL</p></body> 59</html> 60