blob: 3914055b06cd3a1ce28bd77e8e1e66bb16d23b67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _SOFTSHADEROOM_DEPTH_H_
#define _SOFTSHADEROOM_DEPTH_H_
#include "../util/type.h"
typedef bool(*DepthFunc)(float src, float dst);
bool depth_always(float src, float dst);
bool depth_never(float src, float dst);
bool depth_less(float src, float dst);
bool depth_equal(float src, float dst);
bool depth_leuqal(float src, float dst);
bool depth_greater(float src, float dst);
bool depth_notequal(float src, float dst);
bool depth_gequer(float src, float dst);
#endif
|