[−][src]Trait rendy_chain::Resource
Abstracts resource types that uses different usage flags and layouts types.
Associated Types
type Access: AccessFlags
Access flags for resource type.
type Usage: UsageFlags
Usage flags type for the resource.
type Layout: Copy + Debug + 'static
Layout type for the resource.
Required methods
fn no_usage() -> Self::Usage
Empty usage.
fn layout_for(access: Self::Access) -> Self::Layout
Layout suitable for specified accesses.