134 virtual void reset();
Implements color properties.
Implements a 2D image data structure.
This class implements a 1D texture map.
Definition CTexture1d.h:84
This class implements a 2D texture map.
Definition CTexture2d.h:85
virtual void setWrapModeT(const GLint &a_wrapModeT)
This method set the texture wrap mode of t.
Definition CTexture2d.cpp:381
cTexture2d()
Constructor of cTexture2d.
Definition CTexture2d.cpp:60
GLint m_wrapModeT
Texture wrap parameter along t (GL_REPEAT or GL_CLAMP).
Definition CTexture2d.h:147
cTexture2dPtr copy()
This method creates a copy of itself.
Definition CTexture2d.cpp:88
virtual void reset()
This method resets all internal variables. This function should be called only by constructors.
Definition CTexture2d.cpp:117
virtual void update(cRenderOptions &a_options)
This method updates this texture to GPU.
Definition CTexture2d.cpp:270
virtual ~cTexture2d()
Destructor of cTexture2d.
Definition CTexture2d.cpp:75
virtual void renderInitialize(cRenderOptions &a_options)
This method enables texturing and sets this texture as the current texture.
Definition CTexture2d.cpp:166
virtual void renderFinalize(cRenderOptions &a_options)
This method disable texture once triangles have been rendered.
Definition CTexture2d.cpp:353
static cTexture2dPtr create()
Shared cTexture2d allocator.
Definition CTexture2d.h:99
virtual std::string getClassName()
This method returns the name of the object class.
Definition CTexture2d.h:109
GLint getWrapModeT() const
This method returns the texture wrap mode of t.
Definition CTexture2d.h:124
Definition CAudioBuffer.cpp:57
std::shared_ptr< cTexture2d > cTexture2dPtr
Definition CTexture2d.h:69
This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition CRenderOptions.h:83