`
izuoyan
  • 浏览: 9414093 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Node Based ShaderGenerator Features list

阅读更多

Node Based的代码生成器经过几天的修正,基本已经做到可用了。

目前支持以下Feature.

1. 符合规范和调用协议的Node组合。

2. 支持字符串方式来命名由多个shader node组合在一起的node如

HGpuProgram hProgram = pMGR->load(L"simple.pixel<0:simple.mask,RGBAGray;>" , NULL, NULL);

3. xShaderNameParser类提供insertNode类来生成2中的字符串。

xGpuProgNameParser _shaderNameParser;
xGpuProgramName _shaderName;
_shaderNameParser.setShaderName(eShader_VertexShader , L"simple.vertex" );
_shaderNameParser.setShaderName(eShader_PixelShader , L"simple.pixel" );
_shaderNameParser.addShaderNode(eShader_PixelShader , L"simple.texture");
_shaderNameParser.addShaderNode(eShader_PixelShader , L"simple.mask" );
_shaderNameParser.addShaderNode(eShader_PixelShader , L"simple.fakehdr" );
_shaderNameParser.addShaderNode(eShader_PixelShader , L"RGBAGray" );
_shaderNameParser.toName(_shaderName);

4. ShaderNode 支持import lib (类似于include)

5. 支持自定义Shader返回类型。

6. 用作骨架类Shader代码可以单独使用。

7. 支持多个attach point(socket), attach point可以用序号和名字来索引

8. 生成的code可以保存到文件,第二次不需要动态生成,会自动优先加载先前生成的shader文件。

9. 支持HLSL/GLSL语法。只负责生成代码,不需要D3D/OpenGL API支持。

分享到:
评论

相关推荐

    Amplify Shader Editor1.5.4 最新版

    Amplify Shader Editor (ASE) is a node-based shader creation tool inspired by industry leading software. An open and tightly integrated solution, it provides a familiar and consistent development ...

    Learning Bootstrap 4 - Second Edition

    You'll learn about build tools such as Node, Grunt, and many others. You'll also discover the principles of mobile-first design in order to ensure your pages can fit any screen size and meet the ...

    Bootstrap Site Blueprints Volume II(PACKT,2016)

    Key Features Build Bootstrap projects quickly and easily with Harp.js, Node, and Less Learn how to extend Bootstrap with the use of open source JavaScript and icon web font libraries Get acquainted ...

    Learning.Bootstrap.4.2nd.Edition.1785881000

    You'll learn about build tools such as Node, Grunt, and many others. You'll also discover the principles of mobile-first design in order to ensure your pages can fit any screen size and meet the ...

    Full Stack Web Development with Raspberry Pi 3 - 2017.8

    Learn to install and use a Node.js-based web framework to develop Raspberry Pi 3-powered web applications. A step-by-step guide that will cover from setting up a embedded system to developing embedded...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-Part1

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part2

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-part2

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part1

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part2

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part1

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    BobBuilder_app

    RaptorDB starts off by loading the page list and it is good to go from there and pages are loaded on demand, based on usage. Page Splits In the event of page getting full and reaching the ...

    Unreal Engine 4.X By Example

    They use a node-based interface for defining behavior. - **The Blueprint Window**: This is where you design your Blueprint. It includes a graph editor and a list of available nodes. - **Working with...

    python3.6.5参考手册 chm

    The plistlib module: A Property-List Parser ctypes Enhancements Improved SSL Support Deprecations and Removals Build and C API Changes Port-Specific Changes: Windows Port-Specific Changes: Mac OS...

    drupal 6.12

    - To use XML-based services such as the Blogger API and RSS syndication, you will need PHP's XML extension. This extension is enabled by default. - To use Drupal's "Clean URLs" feature on an Apache ...

    arcgis工具

    先选责需要另存图层的要素(直接选择或者属性表),然后在图层上右键Selection/create Layer From Selected Features。 (以前都是直接export竟然没有发现) 27.利用Hyperlinks丰富数据库,为其添加超链接。 单击...

    算法导论--Introduction.to.Algorithms

    It features improved treatment of dynamic programming and greedy algorithms and a new notion of edge-based flow in the material on flow networks. Many new exercises and problems have been added for ...

    微软内部资料-SQL性能优化5

    Both Index Types Have Many Common Features An index consists of a tree with a root from which the navigation begins, possible intermediate index levels, and bottom-level leaf pages. You use the index ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    (FActionIndex could appear beyond the list boundaries). Thanks to Giedrius Matonis. - ADD: Added the method TCustomProp.Assign - a source flex-property is written to stream, which is then read by...

Global site tag (gtag.js) - Google Analytics