135 virtual void reset();
Implements an array of 2D image structures.
This class implements a 2D texture map.
Definition CTexture2d.h:85
This class implements a 3D texture map.
Definition CTexture3d.h:83
GLint getWrapModeR() const
This method returns the texture wrap mode of r.
Definition CTexture3d.h:122
void markForPartialUpdate(const cVector3d a_voxelUpdateMin, const cVector3d a_voxelUpdateMax)
This method marks this texture for partial GPU update from RAM.
Definition CTexture3d.cpp:320
virtual void setWrapModeR(const GLint &a_wrapModeR)
This method set the texture wrap mode of r.
Definition CTexture3d.cpp:132
cTexture3d()
Constructor of cTexture3d.
Definition CTexture3d.cpp:59
virtual ~cTexture3d()
Destructor of cTexture3d.
Definition CTexture3d.cpp:79
virtual void renderInitialize(cRenderOptions &a_options)
This method enables texturing and sets this texture as the current texture.
Definition CTexture3d.cpp:192
cVector3d m_voxelUpdateMax
Maximum voxel coordinate to be updated.
Definition CTexture3d.h:154
virtual std::string getClassName()
This method returns the name of the object class.
Definition CTexture3d.h:107
virtual void reset()
This method resets internal variables. This function should be called only by constructors.
Definition CTexture3d.cpp:144
cVector3d m_voxelUpdateMin
Minimum voxel coordinate to be updated.
Definition CTexture3d.h:151
bool m_markPartialUpdate
If true the partial update is performed.
Definition CTexture3d.h:148
cTexture3dPtr copy()
This method creates a copy of itself.
Definition CTexture3d.cpp:92
static cTexture3dPtr create()
Shared cTexture3d allocator.
Definition CTexture3d.h:97
GLint m_wrapModeR
Texture wrap parameter along r (GL_REPEAT or GL_CLAMP).
Definition CTexture3d.h:157
virtual void renderFinalize(cRenderOptions &a_options)
This method disables texture once triangles have been rendered.
Definition CTexture3d.cpp:298
virtual void update(cRenderOptions &a_options)
This method updates this texture to GPU.
Definition CTexture3d.cpp:345
Definition CAudioBuffer.cpp:57
std::shared_ptr< cTexture3d > cTexture3dPtr
Definition CTexture3d.h:67
This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition CRenderOptions.h:83
This class implements a 3D vector.
Definition CVector3d.h:89