5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_MTL_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_MTL_H_
8#include <Metal/Metal.h>
16 :
public Pipeline<PipelineDescriptor>,
17 public BackendCast<PipelineMTL, Pipeline<PipelineDescriptor>> {
29 id<MTLRenderPipelineState> pipeline_state_;
30 id<MTLDepthStencilState> depth_stencil_state_;
31 bool is_valid_ =
false;
35 id<MTLRenderPipelineState>
state,
36 id<MTLDepthStencilState> depth_stencil_state);
39 bool IsValid()
const override;
id< MTLDepthStencilState > GetMTLDepthStencilState() const
id< MTLRenderPipelineState > GetMTLRenderPipelineState() const
Describes the fixed function and programmable aspects of rendering and compute operations performed b...