pub fn is_read_only(&self) -> bool {
        match self {
            RenderGraphImageUsageType::Read => true,
            RenderGraphImageUsageType::Output => true,
            RenderGraphImageUsageType::ModifyRead => false,
            RenderGraphImageUsageType::Create => false,
            //RenderGraphImageUsageType::Input => false,
            RenderGraphImageUsageType::ModifyWrite => false,
        }
    }
//TODO: Add support to see if multiple writes actually overlap
Add support to see if multiple writes actually overlap
Add support to see if multiple writes actually overlap
pub fn is_read_only(&self) -> bool {
        match self {
            RenderGraphImageUsageType::Read => true,
            RenderGraphImageUsageType::Output => true,
            RenderGraphImageUsageType::ModifyRead => false,
            RenderGraphImageUsageType::Create => false,
            //RenderGraphImageUsageType::Input => false,
            RenderGraphImageUsageType::ModifyWrite => false,
        }
    }
pub fn is_read_only ( & self ) -> bool { match self { RenderGraphImageUsageType :: Read => true , RenderGraphImageUsageType :: Output => true , RenderGraphImageUsageType :: ModifyRead => false , RenderGraphImageUsageType :: Create => false , //RenderGraphImageUsageType::Input => false, RenderGraphImageUsageType :: ModifyWrite => false , } }
TODO: Add support to see if multiple writes actually overlap
TODO : Add support to see if multiple writes actually overlap
&self
&self