32 #ifndef Clear_INCLUDE_ONCE 33 #define Clear_INCLUDE_ONCE 102 void setScissorBox(
int x,
int y,
int w,
int h) { mScissorBox[0] = x; mScissorBox[1] = y; mScissorBox[2] = w; mScissorBox[3] = h; }
104 void getScissorBox(
int& x,
int& y,
int& w,
int& h) { x = mScissorBox[0]; y = mScissorBox[1]; w = mScissorBox[2]; h = mScissorBox[3]; }
Associates a Renderable object to an Effect and Transform.
void setClearColorValueInt(const ivec4 &clear_val)
uvec4 mClearColorValueUInt
ivec4 mClearColorValueInt
Represents an OpenGL context, possibly a widget or a pbuffer, which can also respond to keyboard...
void setClearDepthValue(float clear_val)
virtual void computeBounds_Implementation()
void getScissorBox(int &x, int &y, int &w, int &h)
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
Visualization Library main namespace.
void setClearDepthBuffer(bool clear)
The AABB class implements an axis-aligned bounding box using vl::real precision.
void setClearColorValue(const fvec4 &clear_val)
void setClearColorMode(EClearColorMode mode)
An abstract class that represents all the objects that can be rendered.
The Clear class is a Renderable used to clear the whole or a portion of the color, stencil or depth buffer.
Manages most of the OpenGL rendering states responsible of the final aspect of the rendered objects...
The Sphere class defines a sphere using a center and a radius using vl::real precision.
#define VLGRAPHICS_EXPORT
void setClearColorBuffer(bool clear)
EClearColorMode mClearColorMode
virtual void updateDirtyBufferObject(EBufferObjectUpdateMode)
Uploads the data stored in the local buffers on the GPU memory.
virtual void deleteBufferObject()
Destroys the BufferObject (vertex buffer objects) associated to this a Renderable.
void setClearColorValueUInt(const uvec4 &clear_val)
Represents a virtual camera defining, among other things, the point of view from which scenes can be ...
void setClearStencilBuffer(bool clear)
EClearColorMode clearColorMode() const
void setClearStencilValue(int clear_val)
void setScissorBox(int x, int y, int w, int h)
Defines which portion of the rendering buffers should be cleared.