ngfx::MTLFramebuffer
Inherits from ngfx::Framebuffer
Public Types
 | 
Name | 
| typedef std::vector< MTLRenderPassColorAttachmentDescriptor * > | 
ColorAttachments | 
Public Functions
 | 
Name | 
| void | 
create(uint32_t w, uint32_t h, const ColorAttachments & colorAttachments, MTLRenderPassDepthAttachmentDescriptor * depthAttachment =nullptr, MTLRenderPassStencilAttachmentDescriptor * stencilAttachment =nullptr) | 
| virtual | 
~MTLFramebuffer() | 
Public Attributes
Additional inherited members
Public Classes inherited from ngfx::Framebuffer
Public Functions inherited from ngfx::Framebuffer
Public Attributes inherited from ngfx::Framebuffer
Public Types Documentation
typedef ColorAttachments
typedef std::vector<MTLRenderPassColorAttachmentDescriptor *> ngfx::MTLFramebuffer::ColorAttachments;
Public Functions Documentation
function create
void create(
    uint32_t w,
    uint32_t h,
    const ColorAttachments & colorAttachments,
    MTLRenderPassDepthAttachmentDescriptor * depthAttachment =nullptr,
    MTLRenderPassStencilAttachmentDescriptor * stencilAttachment =nullptr
)
function ~MTLFramebuffer
virtual ~MTLFramebuffer()
Public Attributes Documentation
variable colorAttachments
ColorAttachments colorAttachments;
variable depthAttachment
MTLRenderPassDepthAttachmentDescriptor * depthAttachment = nullptr;
variable stencilAttachment
MTLRenderPassStencilAttachmentDescriptor * stencilAttachment = nullptr;
Updated on  3 April 2021 at 20:21:51 PDT