We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我想把RGB的VkMat转为只有R通道的VkMat。
但我发现VkMat没有类似Mat的channel(int c)函数用于提取单通道,那么VkMat如何提取单通道呢?还是说是因为VkMat无法提取单通道才没有channel函数呢?
请求路过的大佬帮忙解答一下(鞠躬)
The text was updated successfully, but these errors were encountered:
因为 vulkan buffer 在资源绑定时有对齐限制... 直接在 shader 代码里提取单通道即可
Sorry, something went wrong.
哦哦明白🫡,谢谢nihui大佬!
No branches or pull requests
detail | 详细描述 | 詳細な説明
我想把RGB的VkMat转为只有R通道的VkMat。
但我发现VkMat没有类似Mat的channel(int c)函数用于提取单通道,那么VkMat如何提取单通道呢?还是说是因为VkMat无法提取单通道才没有channel函数呢?
请求路过的大佬帮忙解答一下(鞠躬)
The text was updated successfully, but these errors were encountered: