Constant buffer view (CBV)
Constant buffers contain shader constant data. The value of them is that the data persists, and can be accessed by any GPU shader, until it is necessary to change the data.
Typical data for a constant buffer would be world, projection and view matrices, which remain constant throughout the drawing of one frame.
Constant buffer layout should match the HLSL layout (refer to Packing Rules for Constant Variables).
Related topics
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin