Blender V2.61 - r43446
|
#include <kernel_compat_cpu.h>
Public Member Functions | |
T | fetch (int index) |
float | interp (float x, int size) |
Public Attributes | |
T * | data |
int | width |
Definition at line 39 of file kernel_compat_cpu.h.
T texture< T >::fetch | ( | int | index | ) | [inline] |
Definition at line 40 of file kernel_compat_cpu.h.
References texture< T >::data, kernel_assert, and texture< T >::width.
float texture< T >::interp | ( | float | x, |
int | size | ||
) | [inline] |
Definition at line 58 of file kernel_compat_cpu.h.
References clamp, texture< T >::data, kernel_assert, min, and texture< T >::width.
Definition at line 71 of file kernel_compat_cpu.h.
Referenced by texture< T >::fetch(), and texture< T >::interp().
Definition at line 72 of file kernel_compat_cpu.h.
Referenced by texture< T >::fetch(), and texture< T >::interp().