Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShBaseTexture2D< T > Class Template Reference

Base type for 2D Textures. More...

#include <ShBaseTexture.hpp>

Inheritance diagram for SH::ShBaseTexture2D< T >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef T return_type

Public Member Functions

 ShBaseTexture2D (const ShTextureTraits &traits)
 ShBaseTexture2D (int width, int height, const ShTextureTraits &traits)
operator() (const ShGeneric< 2, float > &coords) const
operator[] (const ShGeneric< 2, float > &coords) const
operator() (const ShGeneric< 2, float > &coords, const ShGeneric< 2, float > &dx, const ShGeneric< 2, float > &dy) const
 Texture lookup with derivatives.

ShMemoryPtr memory ()
void memory (ShMemoryPtr memory)
void size (int width, int height)
ShAttrib2f size () const
int width ()
int height ()

Detailed Description

template<typename T>
class SH::ShBaseTexture2D< T >

Base type for 2D Textures.

Definition at line 71 of file ShBaseTexture.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 18 14:17:54 2004 for Sh by doxygen 1.3.7