??xml version="1.0" encoding="utf-8" standalone="yes"?>国产日韩欧美综合精品,国产精品青草综合久久久久99,在线精品视频一区二区http://www.shnenglu.com/lucky420/articles/31305.html随便写写随便写写Fri, 31 Aug 2007 06:43:00 GMThttp://www.shnenglu.com/lucky420/articles/31305.htmlhttp://www.shnenglu.com/lucky420/comments/31305.htmlhttp://www.shnenglu.com/lucky420/articles/31305.html#Feedback0http://www.shnenglu.com/lucky420/comments/commentRss/31305.htmlhttp://www.shnenglu.com/lucky420/services/trackbacks/31305.html
      DeviceChild的子对象包括着色器Q状态对象以及输入布局对象?

随便写写 2007-08-31 14:43 发表评论
]]>
0.2 API层次http://www.shnenglu.com/lucky420/articles/31304.html随便写写随便写写Fri, 31 Aug 2007 06:24:00 GMThttp://www.shnenglu.com/lucky420/articles/31304.htmlhttp://www.shnenglu.com/lucky420/comments/31304.htmlhttp://www.shnenglu.com/lucky420/articles/31304.html#Feedback0http://www.shnenglu.com/lucky420/comments/commentRss/31304.htmlhttp://www.shnenglu.com/lucky420/services/trackbacks/31304.html      D3D10 的运行时是分层次的。首先是处于核心的基本功能层Q然后再是处于外围的可选功能层ơ,如辅助开发层{?br>
核心?/strong>
      核心层是默认存在的,它提供了API函数和驱动程序之间的直接映射Q尽量减高频度调用时的开销。核心层最注重的是性能Q所以它只做最关键的验证?br>      除核心层外的所有层都是可选的。基本规则是Q每个层ơ添加新的功能,但不改变已有的功能。当调用D3D10CreateDevice创徏讑֤Ӟ核心层M被创建。可选层通过讄D3D10_CREATE_DEVICE_FLAG 标记来选择?br>
调试?br>      调试层提供大量的参数和一致性验证。可以通过 ID3D10InfoQueue 接口来获取调试层q回的字W串队列?br>      Z用调试层Q必d装DirectX SDKQ来获得D3D10SDKLayers.DLLQ,q在D3D10CreateDevice时提供D3D10_CREATE_DEVICE_DEBUG 标记。用调试层会ɽE序帧率变慢?br>
切换到参考(Switch-to-ReferenceQ层

     为程序提供在g抽象讑֤QHALQ和参考Y件设备(REFQ之间切换的功能。在D3D10CreateDevice旉择D3D10_DRIVER_TYPE_REFERENCE讑֤cd来创建参考设备。或者提供D3D10_CREATE_DEVICE_SWITCH_TO_REF 标记来同时创建硬件抽象设备参考设备。?ID3D10SwitchToRef::SetUseRef.函数来进行HAL和REF之间的切换?br>
U程安全?br>      U程安全层得程序的多个U程可以安全C用一个设备。线E安全层默认开启,所以D3D10默认是U程安全的,而D3D9不是?

随便写写 2007-08-31 14:24 发表评论
]]>
0.1 状态对象介l?/title><link>http://www.shnenglu.com/lucky420/articles/31290.html</link><dc:creator>随便写写</dc:creator><author>随便写写</author><pubDate>Fri, 31 Aug 2007 05:33:00 GMT</pubDate><guid>http://www.shnenglu.com/lucky420/articles/31290.html</guid><wfw:comment>http://www.shnenglu.com/lucky420/comments/31290.html</wfw:comment><comments>http://www.shnenglu.com/lucky420/articles/31290.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lucky420/comments/commentRss/31290.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lucky420/services/trackbacks/31290.html</trackback:ping><description><![CDATA[<p>         D3D10的渲染管U被分成5个阶D(stageQ,每个阶段都有许多的状态(stateQ,不同的状态决定了阶段的不同特征。当渲染不同的物体时Q通常需要切换某些个阶段的某些状态。在D3D9中,没有明显的阶D划分,所有的状态设|都是直接针Ҏ染管U的讄Q比如顶Ҏ式、渲染状态、纹理阶D늊态等Q程序可以单独修Ҏ一个状态。D3D10 用阶D늊态对象来包装一l相关的状态。对渲染线的修改只能通过状态对象来q行Q而不能直接修改单个状态。最多可以创?096个状态对象,切换状态对象而不是直接修改状态能大大减少渲染线的状态切换开销?br>         状态对象通过几个途径来提升性能Q在状态对象创建时q行状态的验证Q可以在g中缓存状态对象,减少状态切换函数调用时的参C递。状态对象是不可以修改的Q应该在E序初始化时创徏所有可能用到的状态对象。或者将状态写入到Effect中,Effectpȝ会自动高效地理状态对象的创徏和销毁?br><br>输入布局QInput-LayoutQ状?br>      输入布局状态决定了输入集成器(Input AssemblerQ阶D如何解析输入缓冲中的数据。这l状态由输入布局状态对象来包装Q输入布局状态对象用 <strong>ID3D10InputLayout </strong>接口来表C,使用 <a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_CreateInputLayout.htm"><u><font color=#800080>ID3D10Device::CreateInputLayout</font></u></a>来创建,使用<a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_IASetInputLayout.htm"><u><font color=#800080>ID3D10Device::IASetInputLayout</font></u></a>来应用到线中?br>D3D9中用FVF或者顶点声明结构来定义输入的顶点缓冲格式,D3D10中则使用输入元素l构QD3D10_INPUT_ELEMENT_DESCQ来定义。这个结构和点声明l构很类伹{?br><br>光栅器(RasterizerQ状?br>      光栅器状态包括填充(fillQ模式,_N(cullQ模式,裁剪QclippingQ,多重采样状态等Q决定光栅化阶段的特征。完整的状态列表在D3D10_RASTERIZER_DESCl构中描q。光栅器状态对象用 <strong>ID3D10RasterizerState</strong> 接口来表C。?a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_CreateRasterizerState.htm"><u><font color=#800080>ID3D10Device::CreateRasterizerState</font></u></a>来创建,使用<a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_RSSetState.htm"><u><font color=#800080>ID3D10Device::RSSetState</font></u></a>来应用到线中?br><br>深度模版状?br>      深度模版状态设定输出合qD|q行的深度模版测试状态。这l状态用D3D10_DEPTH_STENCIL_DESCl构来描q。深度模版状态对象用 <strong>ID3D10DepthStencilState</strong> 接口来表C。?a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_CreateDepthStencilState.htm"><u><font color=#800080>ID3D10Device::CreateDepthStencilState</font></u></a>来创建,使用<a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_OMSetDepthStencilState.htm"><u><font color=#800080>ID3D10Device::OMSetDepthStencilState</font></u></a>来应用到线中?br><br>混合状?br>      讑֮输出合ƈ阶段的؜合特性。用<strong>ID3D10BlendState</strong>接口来表C,?a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_CreateBlendState.htm"><u><font color=#800080>ID3D10Device::CreateBlendState</font></u></a>.来创建,?a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_OMSetBlendState.htm"><u><font color=#0000ff>ID3D10Device::OMSetBlendState</font></u></a>来应用?br><br>取样器状?br>      取样器对象用来在着色器阶段对纹理内存进行取P用D3D10_BLEND_DESCl构来描q。在D3D10中,取样器不再和一个具体的U理l定在一P而是可以对Q意给的纹理进行取栗用<strong>ID3D10SamplerState</strong>接口来表C。用<a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_CreateSamplerState.htm"><u><font color=#800080>ID3D10Device::CreateSamplerState</font></u></a>.来创建。用 <a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_VSSetSamplers.htm"><u><font color=#0000ff>ID3D10Device::VSSetSamplers</font></u></a>, <a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_GSSetSamplers.htm"><u><font color=#0000ff>ID3D10Device::GSSetSamplers</font></u></a>, ?<a href="mk:@MSITStore:E:\Program%20Files\Microsoft%20DirectX%20SDK%20(August%202007)\Documentation\DirectX9\directx_sdk.chm::/ID3D10Device_PSSetSamplers.htm"><u><font color=#0000ff>ID3D10Device::PSSetSamplers</font></u></a>.来设定到某个着色器阶段?br><br><br></p> <img src ="http://www.shnenglu.com/lucky420/aggbug/31290.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lucky420/" target="_blank">随便写写</a> 2007-08-31 13:33 <a href="http://www.shnenglu.com/lucky420/articles/31290.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>0.0 D3D 10 介及新特?/title><link>http://www.shnenglu.com/lucky420/articles/31270.html</link><dc:creator>随便写写</dc:creator><author>随便写写</author><pubDate>Fri, 31 Aug 2007 04:02:00 GMT</pubDate><guid>http://www.shnenglu.com/lucky420/articles/31270.html</guid><wfw:comment>http://www.shnenglu.com/lucky420/comments/31270.html</wfw:comment><comments>http://www.shnenglu.com/lucky420/articles/31270.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lucky420/comments/commentRss/31270.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lucky420/services/trackbacks/31270.html</trackback:ping><description><![CDATA[<p><span style="FONT-SIZE: 12pt; COLOR: #008000">说明Q本pd是我在学习DX10 q程中的一些翻译和ȝQ主要内Ҏ自DXSDKQAug2007Q?及NVIDIAQATI{技术文?/span><br><br>与其前代 D3D 9 相比QD3D10 的渲染管U有着革命性的变化Q它Z全新一代的软g、硬件^収ͼZ一代的游戏?D多媒体应用开发提供强大的支持?br>软gq_上,D3D10ZWindows Vista 操作pȝ的Windows Vista Display Driver Model (WDDM)Q因此只能在Windows Vistapȝ下运行。如果要考虑跨^台性的问题Q参考一下OpenGL3吧?br>gq_上,目前g支持D3D10的显卡只有NVIDIA 公司的GeForce 8pdQ包括从高端C端的8800Q?600Q?500Q?400Q和AMD.ATI公司的Radeon HD 2000(2900,2600,2400)pd?br>参考链接:<br>NVIDIA <a >http://www.nvidia.com/object/geforce_family.html</a><br>ATI <a >http://ati.amd.com/products/hdseries.html<br></a><br>D3D10在D3D9上增加的新特性主要有Q?br><br>1.    渲染线中新增加了几何着色器阶段Q几何着色器可以处理整个囑օ及邻接信?br>2.    输出阶D可以将渲染线生成的顶Ҏ据输出到内存中?br>3.    定义了一些新的对象和样式来减运行时及驱动程序在验证和处理时的CPU开销?br>         *  管U状态封装成不可变的状态对?br>         *  着色器常数变量Qconstant variableQ封装成常数~存?br>         *  在几何着色器中支持逐图元的材质讄和切?br>4.    新的资源cd和格式(如在着色器中可以烦引访问的U理数组Q?br>5.    使用资源视图来分隔资源在内存中的格式和资源的使用、存取方式。也是使用了Model-View 模式<br>6.    定义了一套完整的功能集。不再保留对遗留g功能的支持,卛_全放弃了向下的兼Ҏ。D3D10API只针对D3D10及以上别的昄g?br>7.    分层的运行时。在核心层提供基的功能,而在外网层次提供可选的、拥有辅助开发的功能<br>8.   完全的HLSL集成QHLSL位于核心层中。所有的着色器E序都用HLSL~写Q都在通用着色器内核中实现?br>9.    增加了支持的渲染目标、纹理和采样器的数量。对着色器代码的长度不再有限制?br>10.    完整支持Q?nbsp;<br>      * 着色器中的整数和位操作<br>      * 在着色器中对深度/模板~存和对多重采样资源的读回(讉KQ?br>      * 多重采样 <span style="COLOR: #ff0000">Alpha-to-Coverage</span>(<span style="COLOR: #ff0000">???</span>不懂)<br> </p> <img src ="http://www.shnenglu.com/lucky420/aggbug/31270.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lucky420/" target="_blank">随便写写</a> 2007-08-31 12:02 <a href="http://www.shnenglu.com/lucky420/articles/31270.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>лǵվܻԴȤ</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.west-data.cn" target="_blank">þþƷƷapp</a>| <a href="http://www.xindouvcd.cn" target="_blank">þþ뾫Ʒҹ</a>| <a href="http://www.fragrancebeads.cn" target="_blank">ĻþþƷAPP</a>| <a href="http://www.jumeiba.cn" target="_blank">˳վ999þþۺ</a>| <a href="http://www.zhihuzhuanlan.com.cn" target="_blank">þwww˳_Ƭ </a>| <a href="http://www.xiewanliang.cn" target="_blank">þþþþavѿƬ</a>| <a href="http://www.t1303.cn" target="_blank">9999Ʒŷþþþþ</a>| <a href="http://www.likyh.cn" target="_blank">þֻоƷƵ99</a>| <a href="http://www.mt4.net.cn" target="_blank">þþþAVվ </a>| <a href="http://www.accuratelocator.cn" target="_blank">˾þô߽ӰԺ95</a>| <a href="http://www.shangtoo.cn" target="_blank">ާѡþþþƷ9966</a>| <a href="http://www.dingbay.cn" target="_blank">ŷ޷avþò</a>| <a href="http://www.icrms.org.cn" target="_blank"> ŷ þ</a>| <a href="http://www.omsf.cn" target="_blank">˾þþƷһ</a>| <a href="http://www.modellesson.cn" target="_blank">޹Ʒþþþ </a>| <a href="http://www.j8hq8.cn" target="_blank">ŷպ˾Ʒþþѿ</a>| <a href="http://www.qj37c.cn" target="_blank">޹Ʒþ98</a>| <a href="http://www.thesmarterwaytofaster.cn" target="_blank">Ļþ</a>| <a href="http://www.beauty-queen.cn" target="_blank">2020þþƷۺһ</a>| <a href="http://www.rfgjqh.cn" target="_blank">ɫ꼤þۺ</a>| <a href="http://www.114tmall.cn" target="_blank">þþþùƷŮӰԺ </a>| <a href="http://www.bai41.cn" target="_blank">99þҹҹƷ</a>| <a href="http://www.epfx.cn" target="_blank">޳˾Ʒþ</a>| <a href="http://www.njglqw.org.cn" target="_blank">þ99Ʒ99þ</a>| <a href="http://www.zhchengzhi.cn" target="_blank">AVþþƷɫ</a>| <a href="http://www.xiatiancaiwu.cn" target="_blank">ŷһþþƷ޾Ʒþþþ </a>| <a href="http://www.awxsp.cn" target="_blank">ɫۺϾþ</a>| <a href="http://www.aoaya.cn" target="_blank">99þ㽶߿</a>| <a href="http://www.bassaphoto.cn" target="_blank">þþƷһ</a>| <a href="http://www.shdad.cn" target="_blank">þ91Ʒþ91ۺ</a>| <a href="http://www.qwoj.cn" target="_blank">þóӰԺƷ777</a>| <a href="http://www.gdcloth.cn" target="_blank">þó˹Ʒ</a>| <a href="http://www.994477.com.cn" target="_blank">þþþƷsmվ</a>| <a href="http://www.02324.cn" target="_blank">ɫþþۺƷ</a>| <a href="http://www.pzjc.net.cn" target="_blank">ɫۺϾþþþĻ</a>| <a href="http://www.1u11.cn" target="_blank">þþþ㽶Ƶ</a>| <a href="http://www.vdzy.cn" target="_blank">þۺձ츾</a>| <a href="http://www.thegraces.com.cn" target="_blank">þ޹վ</a>| <a href="http://www.pbti.com.cn" target="_blank">18ƾþþAAAƬ</a>| <a href="http://www.jddy.net.cn" target="_blank">볬鱬Ļþ</a>| <a href="http://www.zhibonet.cn" target="_blank">re99þ6Ʒ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>