| 12345678910111213141516 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #include "RenderAPI/BsOcclusionQuery.h"
- #include "Managers/BsQueryManager.h"
- namespace bs { namespace ct
- {
- OcclusionQuery::OcclusionQuery(bool binary)
- :mActive(false), mBinary(binary)
- { }
- SPtr<OcclusionQuery> OcclusionQuery::create(bool binary, UINT32 deviceIdx)
- {
- return QueryManager::instance().createOcclusionQuery(binary, deviceIdx);
- }
- }}
|