GLW
Computer Graphics Structures library
glw::FrameBuffer::Settings Struct Reference

Settings defining frame buffer properties. More...

Data Fields

uint32_t width { 0 }
 Horizontal frame buffer resolution.
 
uint32_t height { 0 }
 Vertical frame buffer resolution.
 
bool multisample_enabled { false }
 Whether frame buffer should use multi-sampled attachments.
 
uint32_t multisample_samples { 4 }
 Number of samples. Used only when multi-sample enabled.
 
DepthBufferType depth_buffer_type { DepthBufferType::hidden }
 Type of depth buffer.
 
DepthDataFormat depth_format { DepthDataFormat::uint24_norm }
 Data format of depth buffer. Used when depth buffer type is not DepthBufferType::none.
 
std::vector< gl::GLenum > color_format
 Color format for every color attachment. Vector size defines number of attachments.
 

Detailed Description

Settings defining frame buffer properties.