
Metal
文章平均质量分 95
oop4587
这个作者很懒,什么都没留下…
展开
-
Creating and Sampling Textures 创建和采样纹理
Creating and Sampling Textures创建和采样纹理【说明:】本文将尽量采用英-中对照方式,来看看效果。Load image data into a texture and apply it to a quadrangle.将图像数据加载到纹理中并将其应用于四边形。Overview 概述You use textures to draw and process images in Metal.A texture is a structured collection of原创 2021-10-04 23:15:08 · 427 阅读 · 0 评论 -
Synchronizing CPU and GPU Work 同步CPU和GPU工作
Synchronizing CPU and GPU Work 同步CPU和GPU工作Avoid stalls失控、熄火 between CPU and GPU work by using multiple instances of a resource.OverviewIn this sample code project, you learn how to manage data dependencies依赖性 and avoid processor stalls between the CPU a原创 2021-10-04 13:31:16 · 726 阅读 · 0 评论 -
Viewing Your GPU Workload with the Metal Debugger 利用Metal Debugger来查看显卡工作(排错)
Step through your app’s state on the GPU using various Metal tools in Xcode.内容:在Xcode中使用Metal变量来步进显卡的程序状态说明:本文需要结合前面一个程序来熟练 Metal调试。没有下载内容。OverviewTo understand how the computer runs your app or to debug problems, you typically use a debugger. Traditi原创 2021-10-02 20:44:56 · 608 阅读 · 0 评论 -
Using a Render Pipeline to Render Primitives 使用渲染管道去渲染一个几何体(本例为渲染一个三角形)
Using a Render Pipeline to Render Primitives使用渲染管道去渲染一个几何体Render a simple 2D triangle. 渲染一个简单的三角形OverviewIn Using Metal to Draw a View’s Contents用metal 绘制视图内容一文中, you learned how to set up an MTKView object and to change the view’s contents using a ren原创 2021-09-30 23:30:44 · 295 阅读 · 0 评论 -
Using Metal to Draw a View‘s Contents用Metal绘制视图内容
Using Metal to Draw a View’s Contents时间:2021-9-25分类:Xcode,Metal开发,针对人群:初学者,具备初级英语能力来源:XCode帮助文件Create a MetalKit view and a render pass to draw the view’s contents.创建一个MetalKit视图和一个渲染通道来绘制视图内容。OverviewIn this sample, you’ll learn the basics of rend原创 2021-09-25 22:52:04 · 263 阅读 · 0 评论 -
Performing Calculations on a GPU 在显卡上进行计算
Performing Calculations on a GPUUse Metal to find GPUs and perform calculations on them.OverviewIn this sample, you’ll learn essential tasks that are used in all Metal apps.You’ll see how to convert a simple function written in C to Metal Shading Langu原创 2021-09-25 12:05:36 · 408 阅读 · 0 评论