Sha256: 6264fbd6d309b84860683d1729eafb0c5c8361b2e445f7a2626db2b45f822fab

Contents?: true

Size: 1.27 KB

Versions: 21

Compression:

Stored size: 1.27 KB

Contents

///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2008-12-19
// Updated : 2010-09-27
// Licence : This source is under MIT License
// File    : gli/gtx/fetch.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef GLI_GTX_FETCH_INCLUDED
#define GLI_GTX_FETCH_INCLUDED

#include "../gli.hpp"

namespace gli{
namespace gtx{
namespace fetch
{
	template <typename genType>
	genType texelFetch(
		texture2D const & Texture, 
		texture2D::dimensions_type const & Texcoord,
		texture2D::level_type const & Level);

	template <typename genType>
	genType textureLod(
		texture2D const & Texture, 
		texture2D::texcoord_type const & Texcoord,
		texture2D::level_type const & Level);

	template <typename genType>
	void texelWrite(
		texture2D & Texture,
		texture2D::dimensions_type const & Texcoord,
		texture2D::level_type const & Level,
		genType const & Color);

}//namespace fetch
}//namespace gtx
}//namespace gli

namespace gli{using namespace gtx::fetch;}

#include "fetch.inl"

#endif//GLI_GTX_FETCH_INCLUDED

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.1.0 ext/pixo/ext/glm/test/external/gli/gtx/fetch.hpp