Confetti  0.1.0
A C++ particle system using Vulkan
Public Member Functions | Public Attributes | List of all members
Confetti::Appearance Class Reference

Appearance characteristics shared by multiple particles. More...

#include <Confetti/Appearance.h>

Public Member Functions

void update (float)
 

Public Attributes

Vkx::Camera const * camera
 Rendering camera.
 
std::shared_ptr< Vkx::Texture > texture
 The texture. More...
 
glm::vec4 colorRate
 Color rate of change.
 
float radiusRate
 Radius rate of change.
 
float angularVelocity
 Angular velocity.
 
float size
 Particle size (width or radius)
 

Detailed Description

Appearance characteristics shared by multiple particles.

Note
Some characteristics are not used by all particle types and actual usage of each characteristic is up to the Emitter and Particle implementations.

Member Data Documentation

◆ texture

std::shared_ptr<Vkx::Texture> Confetti::Appearance::texture

The texture.