#ifndef XNA_GRAPHICS_BLENDSTATE_HPP #define XNA_GRAPHICS_BLENDSTATE_HPP #include "../default.hpp" #include "gresource.hpp" namespace xna { struct BlendRenderTarget; class BlendState : public GraphicsResource { public: BlendState(); BlendState(sptr const& device); ~BlendState() override; bool Initialize(xna_error_nullarg) ; void AlphaToCoverageEnable(bool value) ; void IndependentBlendEnable(bool value) ; void RenderTargets(std::vector const& value); bool Apply(xna_error_nullarg); static uptr Opaque(); static uptr AlphaBlend(); static uptr Additive(); static uptr NonPremultiplied(); public: struct PlatformImplementation; uptr impl = nullptr; }; } #endif