docs(reflect): Update docs to reflect that uniforms can be bound to both UBO and Push Constants

This commit is contained in:
chyyran 2023-02-06 19:34:01 -05:00
parent cb4dc418cd
commit c818ef13f7

View file

@ -191,8 +191,7 @@ pub struct PushReflection {
/// The offset of a uniform member.
///
/// A uniform can be bound to **either** the UBO, or as a Push Constant. Binding
/// the same variable name to both locations will result in indeterminate results.
/// A uniform can be bound to both the UBO, or as a Push Constant.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct MemberOffset {
/// The offset of the uniform member within the UBO.