一个微小的硬件加速像素帧缓冲区_rust_代码_下载

上传者: 38334677 | 上传时间: 2022-07-05 09:07:04 | 文件大小: 2.15MB | 文件类型: ZIP
一个微小的硬件加速像素帧缓冲区。 但为什么? 为您喜爱的平台快速制作简单的 2D 游戏、基于像素的动画、软件渲染器或模拟器的原型。然后添加着色器来模拟 CRT,或者只是用一些漂亮的 VFX 来增加它的趣味性。 pixels不仅仅是一个将像素推送到屏幕的库,还不是一个完整的框架。您负责管理窗口环境、事件循环和输入处理。 特征 基于现代图形 API 构建,由wgpuVulkan、Metal、DirectX 12、OpenGL ES3 提供支持。 DirectX 11、WebGL2 和 WebGPU 支持正在进行中。 使用您自己的自定义着色器获得特殊效果。 完美像素边界上的硬件加速缩放。 支持非方形像素纵横比。(在制品) 例子 康威的人生游戏 自定义着色器 亲爱的 ImGui 示例winit Egui 示例winit WebGL2 的最小示例 SDL2 的最小示例 最小的例子winit 最小的例子fltk 像素入侵者 raqote例子 故障排除 驱动程序问题 最常见的问题是主机 更多详情、使用方法,请下载后阅读README.md文件

文件下载

资源详情

[{"title":"( 92 个子文件 2.15MB ) 一个微小的硬件加速像素帧缓冲区_rust_代码_下载","children":[{"title":"pixels-main","children":[{"title":"img","children":[{"title":"minimal-web.png <span style='color:#111;'> 10.61KB </span>","children":null,"spread":false},{"title":"custom-shader.png <span style='color:#111;'> 879.20KB </span>","children":null,"spread":false},{"title":"conway.png <span style='color:#111;'> 643.09KB </span>","children":null,"spread":false},{"title":"imgui-winit.png <span style='color:#111;'> 17.38KB </span>","children":null,"spread":false},{"title":"raqote-winit.png <span style='color:#111;'> 17.35KB </span>","children":null,"spread":false},{"title":"minimal-sdl2.png <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"minimal-fltk.png <span style='color:#111;'> 6.72KB </span>","children":null,"spread":false},{"title":"minimal-egui.png <span style='color:#111;'> 361.39KB </span>","children":null,"spread":false},{"title":"minimal-winit.png <span style='color:#111;'> 180.96KB </span>","children":null,"spread":false},{"title":"pixels.xcf <span style='color:#111;'> 135.53KB </span>","children":null,"spread":false},{"title":"invaders.png <span style='color:#111;'> 141.78KB </span>","children":null,"spread":false},{"title":"pixels.png <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false}],"spread":false},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"ci.yml <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"MSRV.md <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"builder.rs <span style='color:#111;'> 19.97KB </span>","children":null,"spread":false},{"title":"lib.rs <span style='color:#111;'> 22.27KB </span>","children":null,"spread":false},{"title":"renderers.rs <span style='color:#111;'> 10.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 818B </span>","children":null,"spread":false},{"title":"shaders","children":[{"title":"scale.wgsl <span style='color:#111;'> 841B </span>","children":null,"spread":false}],"spread":true},{"title":"examples","children":[{"title":"invaders","children":[{"title":"simple-invaders","children":[{"title":"src","children":[{"title":"geo.rs <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"collision.rs <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"sprites.rs <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"cthulhu1.pcx <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"bullet1.pcx <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"laser6.pcx <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"laser3.pcx <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"ferris2.pcx <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"laser2.pcx <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"bullet5.pcx <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"laser7.pcx <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"laser5.pcx <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"bullet2.pcx <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"blipjoy1.pcx <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"ferris1.pcx <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"laser8.pcx <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"cthulhu2.pcx <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"player1.pcx <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"shield.pcx <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"bullet3.pcx <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"blipjoy2.pcx <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"laser4.pcx <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"bullet4.pcx <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"laser1.pcx <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"player2.pcx <span style='color:#111;'> 458B </span>","children":null,"spread":false}],"spread":false},{"title":"loader.rs <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"controls.rs <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"debug.rs <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"lib.rs <span style='color:#111;'> 18.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"minimal-winit","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 510B </span>","children":null,"spread":false}],"spread":true},{"title":"minimal-web","children":[{"title":"index.html <span style='color:#111;'> 519B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 796B </span>","children":null,"spread":false}],"spread":true},{"title":"custom-shader","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"renderers.rs <span style='color:#111;'> 8.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"shaders","children":[{"title":"noise.wgsl <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true},{"title":"minimal-fltk","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 371B </span>","children":null,"spread":false}],"spread":true},{"title":"minimal-sdl2","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":true},{"title":"imgui-winit","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"gui.rs <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 322B </span>","children":null,"spread":false}],"spread":false},{"title":"raqote-winit","children":[{"title":"src","children":[{"title":"shapes.rs <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"main.rs <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false}],"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":false},{"title":"minimal-egui","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 4.82KB </span>","children":null,"spread":false},{"title":"gui.rs <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 310B </span>","children":null,"spread":false}],"spread":false},{"title":"conway","children":[{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 11.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 356B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"justfile <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"internals","children":[{"title":"pixels-mocks","children":[{"title":"src","children":[{"title":"lib.rs <span style='color:#111;'> 918B </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.82KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明