CmRenderTarget.cpp 533 B

12345678910111213141516171819202122
  1. #include "CmRenderTarget.h"
  2. #include "CmViewport.h"
  3. #include "CmException.h"
  4. #include "CmRenderSystem.h"
  5. namespace BansheeEngine
  6. {
  7. RenderTarget::RenderTarget()
  8. :mActive(true), mHwGamma(false), mVSync(false), mFSAA(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. CM_EXCEPT(InvalidParametersException, "Attribute not found.");
  18. }
  19. }