43 state_.write_mask = write_mask;
45 state_.culling_test = culling_test;
46 state_.depth_test = depth_test;
47 state_.stencil_test = stencil_test;
48 state_.stencil_op = stencil_op;
49 state_.provoking_vert = provoking_vert;
#define specialization_constant(default_value)
GPUTextureFormatFlag to_format_flag(TextureFormat format)
constexpr TextureFormat to_texture_format(TextureTargetFormat format)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
Description of a graphical pipeline to pre-compile during shader creation.
TextureTargetFormat depth_format_
Self & add_specialization_constant(SpecializationConstant::Value specialization_constant)
Vector< SpecializationConstant::Value > specialization_constants_
Self & stencil_format(TextureTargetFormat stencil_format)
Self & viewports(uint32_t viewport_count)
Self & depth_format(TextureTargetFormat depth_format)
TextureTargetFormat stencil_format_
Vector< TextureTargetFormat > color_formats_
Self & color_format(TextureTargetFormat color_format)
Self & primitive(GPUPrimType primitive_type)
Self & state(GPUWriteMask write_mask, GPUBlend blend, GPUFaceCullTest culling_test, GPUDepthTest depth_test, GPUStencilTest stencil_test, GPUStencilOp stencil_op, GPUProvokingVertex provoking_vert)