Midnight Graphics
Create Fast and Simple Graphics in C++
mn::Graphics::Image Struct Reference

Classes

struct  Attachment
 

Public Types

enum  Type { Color , DepthStencil }
 
enum  Format : u32 { DF32_SU8 = 130 , R8G8B8A8_UNORM = 37 , B8G8R8A8_UNORM = 44 , R16G16B16A16_SFLOAT = 97 }
 

Public Member Functions

 Image (const Image &)=delete
 
 Image (Image &&)=default
 
bool hasDepthAttachment () const
 
const AttachmentgetDepthAttachment () const
 
AttachmentgetDepthAttachment ()
 
const auto & getColorAttachments () const
 
auto & getColorAttachments ()
 

Friends

struct ImageFactory
 

The documentation for this struct was generated from the following file: