24 #ifndef GF_RENDER_TARGET_H    25 #define GF_RENDER_TARGET_H    31 #include "Portability.h"    32 #include "PrimitiveType.h"    35 #include "RenderStates.h"    40 #ifndef DOXYGEN_SHOULD_SKIP_THIS    94     virtual Vector2u getSize() 
const = 0;
   106     Region getCanonicalScissorBox();
   113     void setCanonicalScissorBox(
const Region& box);
   120     RectI getScissorBox();
   127     void setScissorBox(
const RectI& box);
   137     void clear(
const Color4f& color);
   156     RangeF getAliasedLineWidthRange() 
const;
   164     float getLineWidth() 
const;
   252     void setView(
const View& view);
   277     Region getCanonicalViewport(
const View& view) 
const;
   291     RectI getViewport(
const View& view) 
const;
   410     Image captureFramebuffer(
unsigned name) 
const;
   413     void initializeViews();
   414     void initializeShader();
   415     void initializeTexture();
   423     void drawStart(
const Vertex *vertices, 
const RenderStates& states, Locations& locations);
   424     void drawFinish(
const Locations& locations);
   429     Shader m_defaultAlphaShader;
   433 #ifndef DOXYGEN_SHOULD_SKIP_THIS   438 #endif // GF_RENDER_TARGET_H 2D camera that defines what region is shown on screen 
Definition: View.h:94
 
A half-open range of values. 
Definition: Range.h:42
 
Base class for all render targets (window, texture, ...) 
Definition: RenderTarget.h:66
 
Define the states used for drawing to a RenderTarget. 
Definition: RenderStates.h:82
 
A point associated with a color and a texture coordinate. 
Definition: Vertex.h:75
 
PrimitiveType
Kind of primitives to render. 
Definition: PrimitiveType.h:43
 
Data in the graphics memory. 
Definition: VertexBuffer.h:70
 
Abstract base class for objects that can be drawn to a render window. 
Definition: Drawable.h:79
 
An OpenGL vertex and/or fragment shader. 
Definition: Shader.h:120
 
A texture for colored images. 
Definition: Texture.h:339
 
Class for loading, manipulating and saving images. 
Definition: Image.h:92
 
The namespace for gf classes. 
Definition: Action.h:34
 
A region of a window. 
Definition: Region.h:40
 
const View & getView() const
Get the view currently in use in the render target. 
Definition: RenderTarget.h:261