1/*
2 * Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
3 *   Digital Ltd. LLC
4 * Distributed under the terms of the MIT License.
5 */
6#ifndef EXR_GAMMA_H
7#define EXR_GAMMA_H
8
9#include "halfFunction.h"
10
11struct Gamma
12{
13	float g, m, d, kl, f, s;
14
15	Gamma(float gamma,
16		float exposure,
17		float defog,
18		float kneeLow,
19		float kneeHigh);
20
21	float operator() (half h);
22};
23
24#endif
25