CMSC23700 Common Code Library
Support code for CS23700 programming projects
Loading...
Searching...
No Matches
cs237-image.hpp File Reference
#include <fstream>
Include dependency graph for cs237-image.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cs237::__detail::ImageBase
 
class  cs237::Image1D
 
class  cs237::Image2D
 
class  cs237::DataImage2D
 A 2D Image used to store 2D data, such as a normal map. More...
 

Namespaces

namespace  cs237
 
namespace  cs237::__detail
 

Enumerations

enum class  cs237::Channels {
  cs237::UNKNOWN , cs237::R , cs237::RG , cs237::RGB ,
  cs237::BGR , cs237::RGBA , cs237::BGRA
}
 the channels of an image More...
 
enum class  cs237::ChannelTy {
  cs237::UNKNOWN , cs237::U8 , cs237::S8 , cs237::U16 ,
  cs237::S16 , cs237::U32 , cs237::S32 , cs237::F32
}
 the type used to represent the channels More...
 

Functions

std::string cs237::to_string (Channels ch)
 convert a Channels value to a printable string
 
std::string cs237::to_string (ChannelTy ty)
 convert a ChannelTy value to a printable string
 
vk::Format cs237::__detail::toVkFormat (Channels chans, ChannelTy ty, bool sRGB)
 convert an image format and channel type to a Vulkan image format
 

Detailed Description

Support code for CMSC 23700 Autumn 2023.

Author
John Reppy