The Texture class defines the texture image and sampling behaviour when you need to map a texture to an object. More...
#include <state.h>
Public Member Functions | |
| Texture (int unit, const ImagePtr &image, const SamplerPtr &sampler) | |
Public Member Functions inherited from cil::State | |
| State () | |
| const std::string & | className () const |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Public Attributes | |
| int | unit |
| ImagePtr | image |
| SamplerPtr | sampler |
Additional Inherited Members | |
Protected Attributes inherited from cil::State | |
| std::string | m_className |
The Texture class defines the texture image and sampling behaviour when you need to map a texture to an object.
| cil::Texture::Texture | ( | int | unit, |
| const ImagePtr & | image, | ||
| const SamplerPtr & | sampler ) |
| ImagePtr cil::Texture::image |
| SamplerPtr cil::Texture::sampler |
| int cil::Texture::unit |