Replies: 1 comment
-
You need to manually create a texture with the same format as the surface texture, but with 4 samples. Then, when creating a render pass, you set the color attachment view to your multisampled texture, and the resolve target to the surface texture. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when i set sampling count to 4 in render Pipeline i get this error
i'm doing
self.device.surface.get_current_texture() always return surfaceTexture with sample_cout=1 how do i change it to 4
Beta Was this translation helpful? Give feedback.
All reactions