jGL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
jGL::GL::glParticles Class Reference

#include <glParticles.h>

Inheritance diagram for jGL::GL::glParticles:
Inheritance graph
[legend]
Collaboration diagram for jGL::GL::glParticles:
Collaboration graph
[legend]

Public Member Functions

 glParticles (size_t sizeHint)
 
 glParticles (std::vector< TexturedParticle > p)
 
void draw (glm::mat4 proj)
 
void setTexture (std::shared_ptr< Texture > tex)
 
void update (Particles::UpdateInfo info)
 
 ~glParticles ()
 
- Public Member Functions inherited from jGL::Particles
 Particles (size_t sizeHint)
 
 Particles (std::vector< TexturedParticle > p)
 
virtual ~Particles ()=default
 
std::vector< TexturedParticle > & getParticles ()
 
void setBaseLineScale (float s)
 

Additional Inherited Members

- Protected Attributes inherited from jGL::Particles
float baseLineScalePixels = 1.0f
 
std::vector< TexturedParticlepoints
 
std::shared_ptr< Texturetexture
 
uint32_t uploaded = 0
 
uint32_t drawing = 0
 

Constructor & Destructor Documentation

◆ glParticles() [1/2]

jGL::GL::glParticles::glParticles ( size_t  sizeHint)

◆ glParticles() [2/2]

jGL::GL::glParticles::glParticles ( std::vector< TexturedParticle p)

◆ ~glParticles()

jGL::GL::glParticles::~glParticles ( )
inline

Member Function Documentation

◆ draw()

void jGL::GL::glParticles::draw ( glm::mat4  proj)
virtual

Implements jGL::Particles.

◆ setTexture()

void jGL::GL::glParticles::setTexture ( std::shared_ptr< Texture tex)
inlinevirtual

Implements jGL::Particles.

◆ update()

void jGL::GL::glParticles::update ( Particles::UpdateInfo  info)
virtual

Implements jGL::Particles.


The documentation for this class was generated from the following files: