Fermat
Classes | Functions | Variables
TexturesModule

Detailed Description

Classes

struct  TextureStorage< TYPE >
 
struct  MipMapStorage< TYPE >
 
struct  TextureReference
 
struct  TextureView
 
struct  MipMapView
 

Functions

FERMAT_HOST_DEVICE FERMAT_FORCEINLINE float4 texture_load (const float4 *tex)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector4f unfiltered_texture_lookup (float4 st, const TextureReference texture_ref, const MipMapView *textures, const float4 default_value)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE void unchecked_quad_texture_lookup (uint2 texel, const MipMapView texture, const uint32 lod, const float4 default_value, cugar::Vector4f quad[4])
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE void quad_texture_lookup (uint2 texel, const TextureReference texture_ref, const MipMapView *textures, const uint32 lod, const float4 default_value, cugar::Vector4f quad[4])
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector4f bilinear_texture_lookup_unscaled (cugar::Vector4f st, const TextureReference texture_ref, const MipMapView *textures, const float4 default_value)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector4f bilinear_texture_lookup (cugar::Vector4f st, const TextureReference texture_ref, const MipMapView *textures, const float4 default_value)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector4f texture_lookup (float4 st, const TextureReference texture_ref, const MipMapView *textures, const float4 default_value)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector2f diff_texture_lookup (cugar::Vector4f st, const TextureReference texture_ref, const MipMapView *textures, const float2 default_value)
 

Variables

FERMAT_API_EXTERN template class FERMAT_API DomainBuffer< HOST_BUFFER, TextureView >
 
FERMAT_API_EXTERN template class FERMAT_API DomainBuffer< CUDA_BUFFER, TextureView >
 
FERMAT_API_EXTERN template struct FERMAT_API TextureStorage< HOST_BUFFER >
 
FERMAT_API_EXTERN template struct FERMAT_API TextureStorage< CUDA_BUFFER >
 
FERMAT_API_EXTERN template struct FERMAT_API MipMapStorage< HOST_BUFFER >
 
FERMAT_API_EXTERN template struct FERMAT_API MipMapStorage< CUDA_BUFFER >