fn blend_factor(fc: BlendFactor) -> vk::BlendFactor {
			match fc {
				BlendFactor::Zero => vk::BlendFactor::ZERO,
				BlendFactor::One => vk::BlendFactor::ONE,
				BlendFactor::SrcColor => vk::BlendFactor::SRC_COLOR,
				BlendFactor::OneMinusSrcColor => vk::BlendFactor::ONE_MINUS_SRC_COLOR,
				BlendFactor::DstColor => vk::BlendFactor::DST_COLOR,
				BlendFactor::OneMinusDstColor => vk::BlendFactor::ONE_MINUS_DST_COLOR,
				BlendFactor::SrcAlpha => vk::BlendFactor::SRC_ALPHA,
				BlendFactor::OneMinusSrcAlpha => vk::BlendFactor::ONE_MINUS_SRC_ALPHA,
			}
		}
// Setting up blending and converting data types
Setting up blending and converting data types
Setting up blending and converting data types
fn blend_factor(fc: BlendFactor) -> vk::BlendFactor {
			match fc {
				BlendFactor::Zero => vk::BlendFactor::ZERO,
				BlendFactor::One => vk::BlendFactor::ONE,
				BlendFactor::SrcColor => vk::BlendFactor::SRC_COLOR,
				BlendFactor::OneMinusSrcColor => vk::BlendFactor::ONE_MINUS_SRC_COLOR,
				BlendFactor::DstColor => vk::BlendFactor::DST_COLOR,
				BlendFactor::OneMinusDstColor => vk::BlendFactor::ONE_MINUS_DST_COLOR,
				BlendFactor::SrcAlpha => vk::BlendFactor::SRC_ALPHA,
				BlendFactor::OneMinusSrcAlpha => vk::BlendFactor::ONE_MINUS_SRC_ALPHA,
			}
		}
fn blend_factor ( fc : BlendFactor ) -> vk :: BlendFactor { match fc { BlendFactor :: Zero => vk :: BlendFactor :: ZERO , BlendFactor :: One => vk :: BlendFactor :: ONE , BlendFactor :: SrcColor => vk :: BlendFactor :: SRC_COLOR , BlendFactor :: OneMinusSrcColor => vk :: BlendFactor :: ONE_MINUS_SRC_COLOR , BlendFactor :: DstColor => vk :: BlendFactor :: DST_COLOR , BlendFactor :: OneMinusDstColor => vk :: BlendFactor :: ONE_MINUS_DST_COLOR , BlendFactor :: SrcAlpha => vk :: BlendFactor :: SRC_ALPHA , BlendFactor :: OneMinusSrcAlpha => vk :: BlendFactor :: ONE_MINUS_SRC_ALPHA , } }
Setting up blending and converting data types
Setting up blending and converting data types
fc
BlendFactor
fc
BlendFactor