 |
Gorgon Game Engine
|
This class represents boundaries of 2D objects.
Definition: Bounds.h:27
Texture GenerateTexture(const Containers::Image &data)
This function generates a texture from the given image data.
Definition: OpenGL.cpp:146
void Clear()
Clears the window pointed by the active context.
Definition: OpenGL.cpp:277
ColorMode
Color modes for images.
Definition: Color.h:16
contains the Bounds class
void SetupContext(const Geometry::Size &size)
Performs first time initialization on GL context.
Definition: OpenGL.cpp:225
Texture GenerateEmptyTexture(const Geometry::Size &size, Graphics::ColorMode mode)
This function generates a texture from the given image data.
Definition: OpenGL.cpp:154
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This class represents a 2D geometric size.
Definition: Size.h:23
void SetDefaultClear()
Sets default clear parameters as current.
Definition: OpenGL.cpp:268
Eases logging procedure by appending necessary information to the given data and streams to a standar...
Definition: Logging.h:19
void DestroyTexture(Texture texture)
Destroys the given texture.
Definition: OpenGL.cpp:213
void ResizeTexture(Texture texture, const Geometry::Size &size, Graphics::ColorMode mode)
Resizes the given texture to the specified size.
Definition: OpenGL.cpp:169
This is a frame buffer object that can be used for render to texture tasks.
Definition: FrameBuffer.h:13
This class represents a 2D point.
Definition: Point.h:32
This class is a container for image data.
Definition: Image.h:19
void SetDefaultBlending()
Sets default blending parameters as current.
Definition: OpenGL.cpp:264
void RenderToScreen()
Stops rendering to a texture and start rendering to a buffer.
Definition: OpenGL.cpp:221
void RenderToTexture(FrameBuffer &buffer)
Begins using the given frame buffer.
Definition: OpenGL.cpp:217
void Resize(const Geometry::Size &size)
Resizes the active context.
Definition: OpenGL.cpp:273
void CopyToTexture(Texture texture, const Containers::Image &data, Geometry::Point target)
Copies the data from the given image to the texture starting from the given target.
Definition: OpenGL.cpp:181
void UpdateTexture(Texture texture, const Containers::Image &data)
Updates the given texture to contain the given data.
Definition: OpenGL.cpp:177
Gorgon::Utils::Logger log
The logger that is used for GL operations. Default is unset and will not log anything....
Definition: Shader.cpp:19