现在HLSL有如下结构体: struct Data { float3 v1; float2 v2; }; 如果是只读的结构化缓冲区,则声明方式如下: Create a Vertex and Pixel Shader pair for rendering ...
確定! 回上一頁