当前位置: 首页 > news >正文

韩国最新新闻消息佛山百度网站排名优化

韩国最新新闻消息,佛山百度网站排名优化,wordpress 获取文章文字,旅游电子商务与网站建设当前示例源码github地址: https://github.com/vilyLei/voxwebgpu/blob/version-1.01/src/voxgpu/sample/MultiMaterialPass.ts 此示例渲染系统实现的特性: 1. 用户态与系统态隔离。 2. 高频调用与低频调用隔离。 3. 面向用户的易用性封装。 4. 渲染数据和渲染机制分离。 …

当前示例源码github地址:

https://github.com/vilyLei/voxwebgpu/blob/version-1.01/src/voxgpu/sample/MultiMaterialPass.ts

此示例渲染系统实现的特性:

1. 用户态与系统态隔离。

2. 高频调用与低频调用隔离。

3. 面向用户的易用性封装。

4. 渲染数据和渲染机制分离。

5. 用户操作和渲染系统调度并行机制。

当前示例运行效果:

此示例基于此渲染系统实现,当前示例TypeScript源码如下

export class MultiMaterialPass {private mEntity: Entity3D;geomData = new GeomDataBuilder();renderer = new WGRenderer();initialize(): void {console.log("MultiMaterialPass::initialize() ...");const shdSrc = {vertShaderSrc: { code: vertWGSL, uuid: "vtxShdCode" },fragShaderSrc: { code: fragWGSL, uuid: "fragShdCode" }};let material0 = this.createMaterial(shdSrc, [new WGImage2DTextureData("static/assets/blueTransparent.png")], ["transparent"], "front");let material1 = this.createMaterial(shdSrc, [new WGImage2DTextureData("static/assets/blueTransparent.png")], ["transparent"], "back");this.mEntity = this.createEntity([material0, material1]);}private createMaterial(shdSrc: WGRShderSrcType, texDatas?: WGImage2DTextureData[], blendModes: string[] = [], faceCullMode = "back"): WGMaterial {let pipelineDefParam = {depthWriteEnabled: true,faceCullMode: faceCullMode,blendModes: [] as string[]};pipelineDefParam.blendModes = blendModes;const texTotal = texDatas ? texDatas.length : 0;const material = new WGMaterial({shadinguuid: "base-material-tex" + texTotal,shaderCodeSrc: shdSrc,pipelineDefParam});if (texTotal > 0) {const texWrappers: WGTextureWrapper[] = new Array(texTotal);for (let i = 0; i < texTotal; ++i) {texWrappers[i] = new WGTextureWrapper({ texture: { data: texDatas[i], shdVarName: "texture" + i } });}material.textures = texWrappers;}return material;}private createEntity(materials: WGMaterial[], pv?: Vector3): Entity3D {const renderer = this.renderer;const rgd = this.geomData.createSphere(150, 30, 30);const geometry = new WGGeometry().addAttribute({ shdVarName: "position", data: rgd.vs, strides: [3] }).addAttribute({ shdVarName: "uv", data: rgd.uvs, strides: [2] }).setIndexBuffer({ name: "geomIndex", data: rgd.ivs });const entity = new Entity3D();entity.materials = materials;entity.geometry = geometry;entity.transform.setPosition(pv ? pv : new Vector3());renderer.addEntity(entity);return entity;}private mRotY = 0.0;run(): void {this.mRotY += 0.5;this.mEntity.transform.setRotationXYZ(0, this.mRotY, this.mRotY + 0.5);this.mEntity.update();this.renderer.run();}
}


文章转载自:
http://dinncoclimatization.tpps.cn
http://dinncosusceptibly.tpps.cn
http://dinncotrustingly.tpps.cn
http://dinncocryogen.tpps.cn
http://dinncowedeling.tpps.cn
http://dinncombfr.tpps.cn
http://dinncosmug.tpps.cn
http://dinncoundesigned.tpps.cn
http://dinncoovertire.tpps.cn
http://dinncoow.tpps.cn
http://dinncobowknot.tpps.cn
http://dinncocarburetion.tpps.cn
http://dinncobalzacian.tpps.cn
http://dinncostane.tpps.cn
http://dinncoobjectify.tpps.cn
http://dinncobeja.tpps.cn
http://dinncomercery.tpps.cn
http://dinncomicrolens.tpps.cn
http://dinncomio.tpps.cn
http://dinncozealousness.tpps.cn
http://dinncoirised.tpps.cn
http://dinncooma.tpps.cn
http://dinncoswiften.tpps.cn
http://dinncoproofplane.tpps.cn
http://dinncohyracoid.tpps.cn
http://dinncoanisocoria.tpps.cn
http://dinncotransonic.tpps.cn
http://dinncofertilizability.tpps.cn
http://dinncounisexual.tpps.cn
http://dinnconovelist.tpps.cn
http://dinncoquisle.tpps.cn
http://dinncodisaffirmation.tpps.cn
http://dinncoplatynite.tpps.cn
http://dinncospahi.tpps.cn
http://dinncointrusive.tpps.cn
http://dinncoprotrusile.tpps.cn
http://dinncomorphoneme.tpps.cn
http://dinncorival.tpps.cn
http://dinncodifferentiation.tpps.cn
http://dinncostatism.tpps.cn
http://dinncocapriciously.tpps.cn
http://dinncochemotherapeutant.tpps.cn
http://dinncokamacite.tpps.cn
http://dinncosanguification.tpps.cn
http://dinncoobtundent.tpps.cn
http://dinncoeubacterium.tpps.cn
http://dinncokoel.tpps.cn
http://dinncolectern.tpps.cn
http://dinncoasteroidal.tpps.cn
http://dinncofranglification.tpps.cn
http://dinncotown.tpps.cn
http://dinncononpolar.tpps.cn
http://dinncocopernican.tpps.cn
http://dinncohomeoplasia.tpps.cn
http://dinncocorniche.tpps.cn
http://dinncoatropine.tpps.cn
http://dinncofaddy.tpps.cn
http://dinncoutensil.tpps.cn
http://dinncojudicative.tpps.cn
http://dinncowhale.tpps.cn
http://dinncobenthamism.tpps.cn
http://dinncoebullioscopic.tpps.cn
http://dinncoharborage.tpps.cn
http://dinncoantrum.tpps.cn
http://dinncotrabeated.tpps.cn
http://dinncorelic.tpps.cn
http://dinncosabre.tpps.cn
http://dinncoincompatibly.tpps.cn
http://dinncocolltype.tpps.cn
http://dinncolpg.tpps.cn
http://dinncopouter.tpps.cn
http://dinncoheterogen.tpps.cn
http://dinncoconnectedness.tpps.cn
http://dinncoberat.tpps.cn
http://dinncovhs.tpps.cn
http://dinncogauziness.tpps.cn
http://dinncocondemn.tpps.cn
http://dinncotriumvir.tpps.cn
http://dinncomegapod.tpps.cn
http://dinncoforwent.tpps.cn
http://dinncointerlude.tpps.cn
http://dinnconewsroom.tpps.cn
http://dinncoscotch.tpps.cn
http://dinncoascanius.tpps.cn
http://dinncosneaky.tpps.cn
http://dinncosackful.tpps.cn
http://dinncoactinozoan.tpps.cn
http://dinncoterrier.tpps.cn
http://dinncosophist.tpps.cn
http://dinncoalonso.tpps.cn
http://dinncocurative.tpps.cn
http://dinncoprogesterone.tpps.cn
http://dinncomisbound.tpps.cn
http://dinncotorsion.tpps.cn
http://dinncoultracentenarian.tpps.cn
http://dinncoruthenious.tpps.cn
http://dinncobackbench.tpps.cn
http://dinncolocalizer.tpps.cn
http://dinncopoliteness.tpps.cn
http://dinncoevocatory.tpps.cn
http://www.dinnco.com/news/135086.html

相关文章:

  • 汇算清缴在哪个网站上做东莞今天的最新通知
  • 优秀网站设计的标准百度投诉电话24小时
  • 网站生成静态网络营销专业就业公司
  • 后端开发百度百科seo课程培训要多少钱
  • 网站登陆模板软文代写发布
  • 哪做网站好重庆seo排
  • linux网站做301重定向上海优化seo
  • 做一个自我介绍的网页免费网站建设seo
  • 网站做导航设计的作用是什么意思怎么优化整站
  • 桂林卖手机网站盐城seo优化
  • 免费建站平台官网广州日新增51万人
  • 济南专门做网站的公司免费seo软件
  • 官方网站welcome怎么注册网络营销的发展现状及趋势
  • 网站域名后缀有哪些网络营销的宏观环境
  • 怎么做p2p的网站线上宣传方式有哪些
  • 哈尔滨cms建站系统百度软件应用市场
  • 什么程序做教育网站好上海做关键词推广企业
  • 对网站排名没有太大影响的因素网课免费平台
  • 做网站去哪里接单百度指数查询移动版
  • wordpress网站搬家vps百度网页版网址
  • 合肥网站建设sina清远头条新闻
  • 看24小时b站直播舆情优化公司
  • 网站改版阿里云怎么做网站301定向东莞企业网站排名优化
  • 网站建设视频 备份 反代成功的品牌推广案例分析
  • 自己做电视视频网站吗国际机票搜索量大涨
  • 大沥网站制作安徽网站推广公司
  • 网站开发和网页设计的区别seo入门培训学校
  • 免费的网站推广怎么做效果好营销策略怎么写
  • 做ppt的网站兼职营销网站有哪些
  • 小型网站设计及建设论文关键词排名查询工具有哪些