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

#include <vkParticles.h>

Inheritance diagram for jGL::Vulkan::vkParticles:
Inheritance graph
[legend]
Collaboration diagram for jGL::Vulkan::vkParticles:
Collaboration graph
[legend]

Public Member Functions

 vkParticles (size_t sizeHint)
 
void update (Particles::UpdateInfo info)
 
void draw (glm::mat4 proj)
 
void setTexture (std::shared_ptr< Texture >)
 
- 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

◆ vkParticles()

jGL::Vulkan::vkParticles::vkParticles ( size_t  sizeHint)
inline

Member Function Documentation

◆ draw()

void jGL::Vulkan::vkParticles::draw ( glm::mat4  proj)
inlinevirtual

Implements jGL::Particles.

◆ setTexture()

void jGL::Vulkan::vkParticles::setTexture ( std::shared_ptr< Texture )
inlinevirtual

Implements jGL::Particles.

◆ update()

void jGL::Vulkan::vkParticles::update ( Particles::UpdateInfo  info)
inlinevirtual

Implements jGL::Particles.


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