docs(reflect): Update docs to reflect that uniforms can be bound to both UBO and Push Constants
This commit is contained in:
parent
cb4dc418cd
commit
c818ef13f7
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue