Daniele Bartolini 12 лет назад
Родитель
Сommit
e2dfdc76a3
3 измененных файлов с 0 добавлено и 60 удалено
  1. 0 1
      src/CMakeLists.txt
  2. 0 1
      src/Crown.h
  3. 0 58
      src/renderers/OcclusionQuery.h

+ 0 - 1
src/CMakeLists.txt

@@ -211,7 +211,6 @@ set (RENDERERS_HEADERS
 	renderers/Renderer.h
 	renderers/IndexBuffer.h
 	renderers/VertexBuffer.h
-	renderers/OcclusionQuery.h
 	renderers/Material.h
 	renderers/Texture.h
 	renderers/DebugRenderer.h

+ 0 - 1
src/Crown.h

@@ -125,7 +125,6 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "VertexBuffer.h"
 #include "IndexBuffer.h"
 #include "Renderer.h"
-#include "OcclusionQuery.h"
 #include "Material.h"
 #include "Texture.h"
 #include "DebugRenderer.h"

+ 0 - 58
src/renderers/OcclusionQuery.h

@@ -1,58 +0,0 @@
-/*
-Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-*/
-
-#pragma once
-
-#include "Types.h"
-
-namespace crown
-{
-
-class OcclusionQuery
-{
-
-public:
-
-	//! Constructor
-	OcclusionQuery() {}
-
-	//! Destructor
-	virtual ~OcclusionQuery() {}
-
-	//! Begins the query
-	virtual void BeginQuery() = 0;
-
-	//! Ends the query
-	virtual void EndQuery() = 0;
-
-	//! Returns the number of fragments visible from the last query operation
-	virtual uint32_t GetQueryResult() = 0;
-
-	//! Returns whether result for this query is available
-	virtual bool IsResultAvailable() = 0;
-};
-
-} // namespace crown
-