// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine". // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_OCCLUSIONQUERY_HPP #define NAZARA_OCCLUSIONQUERY_HPP #include #include class NAZARA_API NzOcclusionQuery : NzNonCopyable { public: NzOcclusionQuery(); ~NzOcclusionQuery(); void Begin(); void End(); unsigned int GetResult() const; bool IsResultAvailable() const; static bool IsSupported(); private: unsigned int m_id; }; #endif // NAZARA_OCCLUSIONQUERY_HPP