![]() |
CMSC23700 Common Code Library
Support code for CS23700 programming projects
|
Namespaces | |
| namespace | __detail |
Classes | |
| class | Application |
| the base class for applications More... | |
| class | Buffer |
| A base class for buffer objects of all kinds. More... | |
| struct | CreateWindowInfo |
| structure containing parameters for creating windows More... | |
| class | DataImage2D |
| A 2D Image used to store 2D data, such as a normal map. More... | |
| class | DepthBuffer |
| This class is a wrapper around the. More... | |
| class | Image1D |
| class | Image2D |
| class | IndexBuffer |
Buffer class for index data; the type parameter I is the index type. More... | |
| class | MemoryObj |
| wrapper around Vulkan memory objects More... | |
| class | Shaders |
| class | Texture1D |
| class | Texture2D |
| class | UniformBuffer |
| class | VertexBuffer |
| class | Window |
| abstract base class for simple GLFW windows used to view buffers, etc. More... | |
Typedefs | |
| using | AABBf_t = __detail::AABB< float > |
| Single-precision axis-aligned bounding boxes. | |
| using | AABBd_t = __detail::AABB< double > |
| Double-precision axis-aligned bounding boxes. | |
| using | Planef_t = __detail::Plane< float > |
| Single-precision planes. | |
| using | Planed_t = __detail::Plane< double > |
| Double-precision planes. | |
Enumerations | |
| enum class | Channels { UNKNOWN , R , RG , RGB , BGR , RGBA , BGRA } |
| the channels of an image More... | |
| enum class | ChannelTy { UNKNOWN , U8 , S8 , U16 , S16 , U32 , S32 , F32 } |
| the type used to represent the channels More... | |
Functions | |
| std::string | to_string (Channels ch) |
| convert a Channels value to a printable string | |
| std::string | to_string (ChannelTy ty) |
| convert a ChannelTy value to a printable string | |
| vk::PipelineVertexInputStateCreateInfo | vertexInputInfo (std::vector< vk::VertexInputBindingDescription > const &descs, std::vector< vk::VertexInputAttributeDescription > const &attrs) |
| initialize info for the vertex input stage of the pipeline | |
| void | destroyVertexInputInfo (vk::PipelineVertexInputStateCreateInfo &info) |
| release resources allocated by vertexInputInfo | |
| void | ReportError (const char *file, int line, std::string const &msg) |
| using cs237::AABBd_t = typedef __detail::AABB<double> |
Double-precision axis-aligned bounding boxes.
| using cs237::AABBf_t = typedef __detail::AABB<float> |
Single-precision axis-aligned bounding boxes.
| using cs237::Planed_t = typedef __detail::Plane<double> |
Double-precision planes.
| using cs237::Planef_t = typedef __detail::Plane<float> |
Single-precision planes.
|
strong |
the channels of an image
|
strong |
|
inline |
release resources allocated by vertexInputInfo
|
inline |
function for reporting errors by raising a runtime exception that includes the file and line number of the error.
| 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
|
inline |
initialize info for the vertex input stage of the pipeline
| descs | vector of binding descriptors |
| attrs | vector of input attributes |
The resources allocated by this function should be released by calling the destroyVertexInputInfo function.