摘要:
主要是两方面:1.shader数据和dx的通信,使用constantBuffer2.矩阵的数学计算方式和内存存储方式再DX和HLSL中的异同先说第一个: dx中的常量数据matrix等传入shader中流程:The first thing that we need to do is declare ... 阅读全文
摘要:
对shader的认知:shader是什么?In Direct3D 11, shaders reside in different stages of the graphics pipeline. They are short programs that,executed by the GPU, ta... 阅读全文
摘要:
目标:这几天迅速入门dx11第一讲主要是基本要素的创建:device 、context、view、swap;笔记:1.In Direct3D 10, the device object was used to perform both rendering and resource creation.... 阅读全文