#include "BsD3D11RenderStateManager.h" #include "BsD3D11SamplerState.h" #include "BsD3D11DepthStencilState.h" #include "BsD3D11RasterizerState.h" #include "BsD3D11BlendState.h" namespace BansheeEngine { SamplerStatePtr D3D11RenderStateManager::createSamplerStateImpl() const { SamplerStatePtr samplerState = bs_core_ptr(new (bs_alloc()) D3D11SamplerState()); return samplerState; } BlendStatePtr D3D11RenderStateManager::createBlendStateImpl() const { BlendStatePtr blendState = bs_core_ptr(new (bs_alloc()) D3D11BlendState()); return blendState; } RasterizerStatePtr D3D11RenderStateManager::createRasterizerStateImpl() const { RasterizerStatePtr rasterizerState = bs_core_ptr(new (bs_alloc()) D3D11RasterizerState()); return rasterizerState; } DepthStencilStatePtr D3D11RenderStateManager::createDepthStencilStateImpl() const { DepthStencilStatePtr depthStencilState = bs_core_ptr(new (bs_alloc()) D3D11DepthStencilState()); return depthStencilState; } }