Flutter Engine
The Flutter Engine
Namespaces | Functions
formats_mtl.mm File Reference
#include "impeller/renderer/backend/metal/formats_mtl.h"
#include <Metal/Metal.h>
#include <memory>
#include "impeller/renderer/render_pass.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

MTLRenderPipelineColorAttachmentDescriptor * impeller::ToMTLRenderPipelineColorAttachmentDescriptor (ColorAttachmentDescriptor descriptor)
 
MTLStencilDescriptor * impeller::ToMTLStencilDescriptor (const StencilAttachmentDescriptor &descriptor)
 
MTLDepthStencilDescriptor * impeller::ToMTLDepthStencilDescriptor (std::optional< DepthAttachmentDescriptor > depth, std::optional< StencilAttachmentDescriptor > front, std::optional< StencilAttachmentDescriptor > back)
 
MTLTextureDescriptor * impeller::ToMTLTextureDescriptor (const TextureDescriptor &desc)
 
MTLPixelFormat impeller::SafeMTLPixelFormatDepth24Unorm_Stencil8 ()
 
MTLPixelFormat impeller::SafeMTLPixelFormatBGR10_XR_sRGB ()
 
MTLPixelFormat impeller::SafeMTLPixelFormatBGR10_XR ()
 
MTLPixelFormat impeller::SafeMTLPixelFormatBGRA10_XR ()