|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
#include <platform/graphics/metal/metalRenderTarget.h>
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 |
| Texture * | colorBuffer () const |
| int | colorBufferCount () const |
| Texture * | depthBuffer () const |
| int | face () const |
| Texture * | getColorBuffer (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 | |
| GraphicsDevice * | device () const |
| void | validateMrt () |
Metal render target implementation. Manages color and depth/stencil textures for off-screen rendering.
Definition at line 64 of file metalRenderTarget.h.
|
explicit |
Definition at line 77 of file metalRenderTarget.cpp.
References visutwin::canvas::RenderTarget::createFrameBuffers(), and visutwin::canvas::RenderTarget::RenderTarget().
|
virtual |
Definition at line 83 of file metalRenderTarget.cpp.
References visutwin::canvas::RenderTarget::destroyFrameBuffers().
|
inline |
Definition at line 71 of file metalRenderTarget.h.
|
inline |
Definition at line 72 of file metalRenderTarget.h.
| void visutwin::canvas::MetalRenderTarget::ensureAttachments | ( | ) |
Definition at line 88 of file metalRenderTarget.cpp.
References visutwin::canvas::RenderTarget::colorBuffer(), visutwin::canvas::RenderTarget::colorBufferCount(), visutwin::canvas::RenderTarget::createFrameBuffers(), visutwin::canvas::RenderTarget::getColorBuffer(), and visutwin::canvas::RenderTarget::hasDepth().