pub fn check_texture_usage(
actual: TextureUsages,
expected: TextureUsages,
) -> Result<(), MissingTextureUsageError>
Expand description
Checks that the given texture usage contains the required texture usage, returns an error otherwise.
pub fn check_texture_usage(
actual: TextureUsages,
expected: TextureUsages,
) -> Result<(), MissingTextureUsageError>
Checks that the given texture usage contains the required texture usage, returns an error otherwise.