BsRenderTarget.cpp 523 B

12345678910111213141516171819202122
  1. #include "BsRenderTarget.h"
  2. #include "BsViewport.h"
  3. #include "BsException.h"
  4. #include "BsRenderSystem.h"
  5. namespace BansheeEngine
  6. {
  7. RenderTarget::RenderTarget()
  8. :mActive(true), mHwGamma(false), mVSync(false), mMultisampleCount(0),
  9. mWidth(0), mHeight(0), mColorDepth(0), mPriority(0)
  10. {
  11. }
  12. RenderTarget::~RenderTarget()
  13. {
  14. }
  15. void RenderTarget::getCustomAttribute(const String& name, void* pData) const
  16. {
  17. BS_EXCEPT(InvalidParametersException, "Attribute not found.");
  18. }
  19. }