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.
|
/// The offset of a uniform member.
|
||||||
///
|
///
|
||||||
/// A uniform can be bound to **either** the UBO, or as a Push Constant. Binding
|
/// A uniform can be bound to both the UBO, or as a Push Constant.
|
||||||
/// the same variable name to both locations will result in indeterminate results.
|
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||||
pub struct MemberOffset {
|
pub struct MemberOffset {
|
||||||
/// The offset of the uniform member within the UBO.
|
/// The offset of the uniform member within the UBO.
|
||||||
|
|
Loading…
Reference in a new issue