From 87f646a83bb6e03dc42e41d4cdb23295e3336003 Mon Sep 17 00:00:00 2001 From: PENGUINLIONG Date: Tue, 15 Sep 2020 14:43:30 +0800 Subject: [PATCH] Notes on LoadOp --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 1c26225c1..448c826df 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -885,6 +885,8 @@ pub enum BindingResource<'a> { } /// Operation to perform to the output attachment at the start of a renderpass. +/// +/// The render target must be cleared at least once before it's content be loaded. #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq)] #[cfg_attr(feature = "trace", derive(Serialize))] #[cfg_attr(feature = "replay", derive(Deserialize))]