随笔分类 - vulkan
摘要:vs shader如下面格式: //vs #version 450 layout(binding = 0) uniform UniformBufferObject { mat4 model; mat4 view; mat4 proj; } ubo; layout(location = 0) in v
阅读全文
摘要:如果shader中的资源是这么排布的: //vs layout(set = 0, binding = 0, std140) uniform UBO { mat4 projection; mat4 view; mat4 model; } ubo; layout(location = 0) in vec
阅读全文

浙公网安备 33010602011771号