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

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

Public Member Functions

 ColorAttachment ()=default
void destroy ()
 ~ColorAttachment ()=default

Public Attributes

MTL::Texture * multisampledBuffer = nullptr
MTL::PixelFormat pixelFormat = MTL::PixelFormatInvalid
MTL::Texture * texture = nullptr

Detailed Description

Private class storing info about color buffer

Definition at line 18 of file metalRenderTarget.h.

Constructor & Destructor Documentation

◆ ColorAttachment()

visutwin::canvas::ColorAttachment::ColorAttachment ( )
default

◆ ~ColorAttachment()

visutwin::canvas::ColorAttachment::~ColorAttachment ( )
default

Member Function Documentation

◆ destroy()

void visutwin::canvas::ColorAttachment::destroy ( )

Definition at line 48 of file metalRenderTarget.cpp.

References multisampledBuffer, and texture.

Member Data Documentation

◆ multisampledBuffer

MTL::Texture* visutwin::canvas::ColorAttachment::multisampledBuffer = nullptr

Definition at line 25 of file metalRenderTarget.h.

Referenced by destroy().

◆ pixelFormat

MTL::PixelFormat visutwin::canvas::ColorAttachment::pixelFormat = MTL::PixelFormatInvalid

Definition at line 20 of file metalRenderTarget.h.

◆ texture

MTL::Texture* visutwin::canvas::ColorAttachment::texture = nullptr

Definition at line 22 of file metalRenderTarget.h.

Referenced by destroy().


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