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

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

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

Public Member Functions

const std::vector< std::shared_ptr< ColorAttachment > > & colorAttachments () const
const std::shared_ptr< DepthAttachment > & depthAttachment () const
void ensureAttachments ()
 MetalRenderTarget (const RenderTargetOptions &options={})
virtual ~MetalRenderTarget ()
Public Member Functions inherited from visutwin::canvas::RenderTarget
bool autoResolve () const
TexturecolorBuffer () const
int colorBufferCount () const
TexturedepthBuffer () const
int face () const
TexturegetColorBuffer (size_t index) const
bool hasDepth () const
bool hasDepthBuffer () const
bool hasMipmaps () const
bool hasStencil () const
int height () const
int key () const
int mipLevel () const
const std::string & name () const
 RenderTarget (const RenderTargetOptions &options={})
void resize (int width, int height)
int samples () const
int width () const
virtual ~RenderTarget ()

Additional Inherited Members

Protected Member Functions inherited from visutwin::canvas::RenderTarget
GraphicsDevicedevice () const
void validateMrt ()

Detailed Description

Metal render target implementation. Manages color and depth/stencil textures for off-screen rendering.

Definition at line 64 of file metalRenderTarget.h.

Constructor & Destructor Documentation

◆ MetalRenderTarget()

visutwin::canvas::MetalRenderTarget::MetalRenderTarget ( const RenderTargetOptions & options = {})
explicit

◆ ~MetalRenderTarget()

visutwin::canvas::MetalRenderTarget::~MetalRenderTarget ( )
virtual

Member Function Documentation

◆ colorAttachments()

const std::vector< std::shared_ptr< ColorAttachment > > & visutwin::canvas::MetalRenderTarget::colorAttachments ( ) const
inline

Definition at line 71 of file metalRenderTarget.h.

◆ depthAttachment()

const std::shared_ptr< DepthAttachment > & visutwin::canvas::MetalRenderTarget::depthAttachment ( ) const
inline

Definition at line 72 of file metalRenderTarget.h.

◆ ensureAttachments()


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