Searched refs:colorBlend (Results 1 – 5 of 5) sorted by relevance
456 VkPipelineColorBlendStateCreateInfo colorBlend; in Initialize() local471 colorBlend.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in Initialize()472 colorBlend.pNext = nullptr; in Initialize()473 colorBlend.flags = 0; in Initialize()475 colorBlend.logicOpEnable = VK_FALSE; in Initialize()476 colorBlend.logicOp = VK_LOGIC_OP_CLEAR; in Initialize()477 colorBlend.attachmentCount = static_cast<uint32_t>(GetColorAttachmentsMask().count()); in Initialize()478 colorBlend.pAttachments = colorBlendAttachments.data(); in Initialize()480 colorBlend.blendConstants[0] = 0.0f; in Initialize()481 colorBlend.blendConstants[1] = 0.0f; in Initialize()[all …]
759 bool colorBlend = !(blendOperation() == BLENDOP_SOURCE && sourceBlendFactor() == BLEND_ONE); in alphaBlendActive() local760 …? !(blendOperationAlpha() == BLENDOP_SOURCE && sourceBlendFactorAlpha() == BLEND_ONE) : colorBlend; in alphaBlendActive()762 return colorBlend || alphaBlend; in alphaBlendActive()
173 wgpu::BlendComponent colorBlend; in CheckBlendFactor() local174 colorBlend.operation = wgpu::BlendOperation::Add; in CheckBlendFactor()175 colorBlend.srcFactor = colorSrcFactor; in CheckBlendFactor()176 colorBlend.dstFactor = colorDstFactor; in CheckBlendFactor()184 blend.color = colorBlend; in CheckBlendFactor()
731 bool colorBlend = !(blendOperation(index, attachments) == VK_BLEND_OP_SRC_EXT && in alphaBlendActive() local736 return colorBlend || alphaBlend; in alphaBlendActive()
1069 colorStateDescriptor.colorBlend = alpha_blend; in CreateRenderPipelineDescriptor()1093 colorStateDescriptor.colorBlend = color_blend; in CreateRenderPipelineDescriptor()