| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #pragma once
- #include "BsD3D11Prerequisites.h"
- #include "BsMultiRenderTexture.h"
- namespace BansheeEngine
- {
- class D3D11MultiRenderTexture;
- /**
- * @brief DirectX 11 implementation of a render texture with multiple color surfaces.
- *
- * @note Core thread only.
- */
- class BS_D3D11_EXPORT D3D11MultiRenderTextureCore : public MultiRenderTextureCore
- {
- public:
- D3D11MultiRenderTextureCore(const MULTI_RENDER_TEXTURE_CORE_DESC& desc);
- virtual ~D3D11MultiRenderTextureCore();
-
- /**
- * @copydoc MultiRenderTextureCore::getCustomAttribute
- */
- void getCustomAttribute(const String& name, void* pData) const;
- protected:
- friend class D3D11MultiRenderTexture;
- /**
- * @copydoc MultiRenderTextureCore::getProperties
- */
- const RenderTargetProperties& getPropertiesInternal() const { return mProperties; }
- MultiRenderTextureProperties mProperties;
- };
- /**
- * @brief DirectX 11 implementation of a render texture with multiple color surfaces.
- *
- * @note Sim thread only.
- */
- class BS_D3D11_EXPORT D3D11MultiRenderTexture : public MultiRenderTexture
- {
- public:
- virtual ~D3D11MultiRenderTexture() { }
- protected:
- friend class D3D11TextureManager;
- D3D11MultiRenderTexture(const MULTI_RENDER_TEXTURE_DESC& desc);
- /**
- * @copydoc MultiRenderTexture::getProperties
- */
- const RenderTargetProperties& getPropertiesInternal() const { return mProperties; }
- MultiRenderTextureProperties mProperties;
- };
- }
|