VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::MetalRenderPipeline Class Referencefinal

#include <platform/graphics/metal/metalRenderPipeline.h>

Inheritance diagram for visutwin::canvas::MetalRenderPipeline:
[legend]

Public Member Functions

MTL::RenderPipelineState * get (const Primitive &primitive, const std::shared_ptr< VertexFormat > &vertexFormat0, const std::shared_ptr< VertexFormat > &vertexFormat1, int ibFormat, const std::shared_ptr< Shader > &shader, const std::shared_ptr< RenderTarget > &renderTarget, const std::vector< std::shared_ptr< MetalBindGroupFormat > > &bindGroupFormats, const std::shared_ptr< BlendState > &blendState, const std::shared_ptr< DepthState > &depthState, CullMode cullMode, bool stencilEnabled, const std::shared_ptr< StencilParameters > &stencilFront, const std::shared_ptr< StencilParameters > &stencilBack, const std::shared_ptr< VertexFormat > &instancingFormat=nullptr)
 MetalRenderPipeline (const MetalGraphicsDevice *device)
MTL::RenderPipelineState * raw () const
 ~MetalRenderPipeline ()
Public Member Functions inherited from visutwin::canvas::MetalPipeline
metal::PipelineLayoutgetPipelineLayout (const std::vector< std::shared_ptr< MetalBindGroupFormat > > &bindGroupFormats)
 MetalPipeline (const MetalGraphicsDevice *device)
Public Member Functions inherited from visutwin::canvas::RenderPipelineBase
virtual ~RenderPipelineBase ()=default

Additional Inherited Members

Protected Attributes inherited from visutwin::canvas::MetalPipeline
const MetalGraphicsDevice_device

Detailed Description

Definition at line 37 of file metalRenderPipeline.h.

Constructor & Destructor Documentation

◆ MetalRenderPipeline()

visutwin::canvas::MetalRenderPipeline::MetalRenderPipeline ( const MetalGraphicsDevice * device)
explicit

◆ ~MetalRenderPipeline()

visutwin::canvas::MetalRenderPipeline::~MetalRenderPipeline ( )

Definition at line 60 of file metalRenderPipeline.cpp.

Member Function Documentation

◆ get()

MTL::RenderPipelineState * visutwin::canvas::MetalRenderPipeline::get ( const Primitive & primitive,
const std::shared_ptr< VertexFormat > & vertexFormat0,
const std::shared_ptr< VertexFormat > & vertexFormat1,
int ibFormat,
const std::shared_ptr< Shader > & shader,
const std::shared_ptr< RenderTarget > & renderTarget,
const std::vector< std::shared_ptr< MetalBindGroupFormat > > & bindGroupFormats,
const std::shared_ptr< BlendState > & blendState,
const std::shared_ptr< DepthState > & depthState,
CullMode cullMode,
bool stencilEnabled,
const std::shared_ptr< StencilParameters > & stencilFront,
const std::shared_ptr< StencilParameters > & stencilBack,
const std::shared_ptr< VertexFormat > & instancingFormat = nullptr )

◆ raw()

MTL::RenderPipelineState * visutwin::canvas::MetalRenderPipeline::raw ( ) const
inlinenodiscard

Definition at line 44 of file metalRenderPipeline.h.


The documentation for this class was generated from the following files: