0.6.1
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
D:
Source
G-Truc
gli
gli
core
fetch.hpp
Go to the documentation of this file.
1
29
#pragma once
30
31
#include "../gli.hpp"
32
33
namespace
gli
34
{
35
template
<
typename
genType>
36
genType
texelFetch
(
37
texture2D
const
& Texture,
38
texture2D::dim_type
const
& Texcoord,
39
texture2D::size_type
const
& Level);
40
41
template
<
typename
genType>
42
void
texelWrite
(
43
texture2D & Texture,
44
texture2D::dim_type
const
& Texcoord,
45
texture2D::size_type
const
& Level,
46
genType
const
& Color);
47
48
template
<
typename
genType>
49
genType
textureLod
(
50
texture2D
const
& Texture,
51
texture2D::texcoord_type
const
& Texcoord,
52
texture2D::size_type
const
& Level);
53
54
}
//namespace gli
55
56
#include "fetch.inl"
gli::texture::size_type
size_t size_type
Definition:
texture.hpp:38
gli::textureLod
genType textureLod(texture2D const &Texture, texture2D::texcoord_type const &Texcoord, texture2D::size_type const &Level)
gli::texelFetch
genType texelFetch(texture2D const &Texture, texture2D::dim_type const &Texcoord, texture2D::size_type const &Level)
gli::texture2D::texcoord_type
vec2 texcoord_type
Definition:
texture2d.hpp:44
gli::texelWrite
void texelWrite(texture2D &Texture, texture2D::dim_type const &Texcoord, texture2D::size_type const &Level, genType const &Color)
gli
Definition:
addressing.hpp:33
gli::texture2D::dim_type
dim2_t dim_type
Definition:
texture2d.hpp:43
Generated by
1.8.10