#pragma once #include "BsD3D11Prerequisites.h" #include "BsBlendState.h" namespace BansheeEngine { /** * @brief DirectX 11 implementation of a blend state. * Corresponds directly with a DX11 blend state object. */ class BS_D3D11_EXPORT D3D11BlendStateCore : public BlendStateCore { public: ~D3D11BlendStateCore(); /** * @brief Returns the internal DX11 blend state object. */ ID3D11BlendState* getInternal() const { return mBlendState; } protected: friend class D3D11RenderStateCoreManager; D3D11BlendStateCore(const BLEND_STATE_DESC& desc, UINT32 id); /** * @copydoc BlendStateCore::createInternal */ void createInternal() override; ID3D11BlendState* mBlendState; }; }