|
Functions |
template<typename T> |
int | sh_cc_backend_nearest (T value) |
template<int TexDims, int TexSize, int TexWidth, int TexHeight, int TexDepth, typename TexType, typename SrcWrap, typename DestClamp, typename IndexType, typename MemoryType> |
void | sh_cc_backend_lookupi (const void *texture, IndexType *src, MemoryType *dest) |
template<int TexDims, int TexSize, int TexWidth, int TexHeight, int TexDepth, typename TexType, typename SrcWrap, typename DestClamp, typename IndexType, typename MemoryType> |
void | sh_cc_backend_lookup (const void *texture, IndexType *src, MemoryType *dest) |
src indices are assumed to be integers, even if the int allows floating point values.
All of the parameters such as tuple-size, clamp mode, etc. will be known statically at time of code emission, so they are all template parameters.