Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
Classes | Enumerations
GPU Resources

GPU Resources. More...

Classes

struct  gf::GraphicsTrait< Tag >
 A trait to handle creation and deletion of GPU resources. More...
 
class  gf::GraphicsHandle< Tag >
 A GL handle. More...
 
struct  gf::GraphicsTrait< GraphicsTag::Framebuffer >
 Trait for framebuffer. More...
 
class  gf::Shader
 An OpenGL vertex and/or fragment shader. More...
 
struct  gf::GraphicsTrait< GraphicsTag::Texture >
 Trait for texture. More...
 
class  gf::BareTexture
 An image that lives in the graphic memory that can be used for drawing. More...
 
class  gf::Texture
 A texture for colored images. More...
 
class  gf::AlphaTexture
 A texture with a single alpha channel. More...
 
struct  gf::GraphicsTrait< GraphicsTag::Buffer >
 Trait for buffer. More...
 
class  gf::VertexBuffer
 Data in the graphics memory. More...
 

Enumerations

enum class  gf::GraphicsTag {
  gf::GraphicsTag::Buffer ,
  gf::GraphicsTag::Framebuffer ,
  gf::GraphicsTag::Texture
}
 A tag to represent various GPU resources. More...
 

Detailed Description

GPU Resources.

Enumeration Type Documentation

◆ GraphicsTag

enum class gf::GraphicsTag
strong

A tag to represent various GPU resources.

Enumerator
Buffer 

A GPU buffer.

Framebuffer 

A GPU framebuffer.

Texture 

A GPU texture.