diff --git a/includes/pipeline/graphics.hpp b/includes/pipeline/graphics.hpp index 04484a0..cd38419 100644 --- a/includes/pipeline/graphics.hpp +++ b/includes/pipeline/graphics.hpp @@ -9,6 +9,7 @@ #include "xna/graphics/shared.hpp" namespace xna { + //Provides properties and methods for creating and maintaining a bitmap resource. class BitmapContent : public ContentItem { public: BitmapContent(int32_t width, int32_t height) { @@ -79,6 +80,7 @@ namespace xna { int32_t height{ 0 }; }; + //Provides methods for maintaining a 2D array of pixel values. template class PixelBitmapContent : public BitmapContent { public: diff --git a/includes/xna/content/serializer.hpp b/includes/xna/content/serializer.hpp new file mode 100644 index 0000000..56538b0 --- /dev/null +++ b/includes/xna/content/serializer.hpp @@ -0,0 +1,17 @@ +#ifndef XNA_CONTENT_SERIALIZER_HPP +#define XNA_CONTENT_SERIALIZER_HPP + +#include + +namespace xna { + struct ContentSerializerAttribute { + std::string ElementName; + std::string CollectionItemName; + bool FlatternContent{ false }; + bool Optional{ false }; + bool AllowNull{ true }; + bool SharedResource{ false }; + }; +} + +#endif \ No newline at end of file