pub(super) fn add_buffer_usage(
        &mut self,
        user: RenderGraphBufferUser,
        version: RenderGraphBufferVersionId,
        usage_type: RenderGraphBufferUsageType,
        access_flags: vk::AccessFlags,
        stage_flags: vk::PipelineStageFlags,
    ) -> RenderGraphBufferUsageId {
        let usage_id = RenderGraphBufferUsageId(self.buffer_usages.len());
        self.buffer_usages.push(RenderGraphBufferUsage {
            user,
            usage_type,
            version,
            access_flags,
            stage_flags,
        });
        usage_id
    }
//NOTE: While the buffer aspect flags may seem redundant with subresource_range here, the
// subresource_range should indicate the buffer view's supported aspects and the provided
// buffer aspect flags the aspects that are actually being used
While the buffer aspect flags may seem redundant with subresource_range here, the
subresource_range should indicate the buffer view's supported aspects and the provided
buffer aspect flags the aspects that are actually being used
While the buffer aspect flags may seem redundant with subresource_range here the subresource_range should indicate the buffer view ' s supported aspects and the provided buffer aspect flags the aspects that are actually being used
pub(super) fn add_buffer_usage(
        &mut self,
        user: RenderGraphBufferUser,
        version: RenderGraphBufferVersionId,
        usage_type: RenderGraphBufferUsageType,
        access_flags: vk::AccessFlags,
        stage_flags: vk::PipelineStageFlags,
    ) -> RenderGraphBufferUsageId {
        let usage_id = RenderGraphBufferUsageId(self.buffer_usages.len());
        self.buffer_usages.push(RenderGraphBufferUsage {
            user,
            usage_type,
            version,
            access_flags,
            stage_flags,
        });
        usage_id
    }
pub ( super ) fn add_buffer_usage ( & mut self , user : RenderGraphBufferUser , version : RenderGraphBufferVersionId , usage_type : RenderGraphBufferUsageType , access_flags : vk :: AccessFlags , stage_flags : vk :: PipelineStageFlags , ) -> RenderGraphBufferUsageId { let usage_id = RenderGraphBufferUsageId ( self . buffer_usages . len ( ) ) ; self . buffer_usages . push ( RenderGraphBufferUsage { user , usage_type , version , access_flags , stage_flags , } ) ; usage_id }
NOTE: While the buffer aspect flags may seem redundant with subresource_range here, the
subresource_range should indicate the buffer view's supported aspects and the provided
buffer aspect flags the aspects that are actually being used
NOTE : While the buffer aspect flags may seem redundant with subresource_range here the subresource_range should indicate the buffer view ' s supported aspects and the provided buffer aspect flags the aspects that are actually being used
&mut self
user
RenderGraphBufferUser
version
RenderGraphBufferVersionId
usage_type
RenderGraphBufferUsageType
access_flags
vk::AccessFlags
stage_flags
vk::PipelineStageFlags
&mut self
user
RenderGraphBufferUser
version
RenderGraphBufferVersionId
usage_type
RenderGraphBufferUsageType
access_flags
vk::AccessFlags
stage_flags
vk::PipelineStageFlags