Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
particles.cpp File Reference
#include "particles.h"
#include <cmath>
#include <array>
#include "client.h"
#include "collision.h"
#include "client/content_cao.h"
#include "client/clientevent.h"
#include "client/renderingengine.h"
#include "client/texturesource.h"
#include "util/numeric.h"
#include "light.h"
#include "localplayer.h"
#include "environment.h"
#include "clientmap.h"
#include "mapnode.h"
#include "nodedef.h"
#include "settings.h"
#include "profiler.h"
+ Include dependency graph for particles.cpp:

Typedefs

using BlendMode = ParticleParamTypes::BlendMode
 

Functions

static void setBlendMode (video::SMaterial &material, BlendMode blendmode)
 

Variables

static constexpr u16 quad_indices [] = { 0, 1, 2, 2, 3, 0 }
 

Typedef Documentation

◆ BlendMode

Function Documentation

◆ setBlendMode()

static void setBlendMode ( video::SMaterial & material,
BlendMode blendmode )
static

Referenced by ParticleManager::getMaterialForParticle().

+ Here is the caller graph for this function:

Variable Documentation

◆ quad_indices

u16 quad_indices[] = { 0, 1, 2, 2, 3, 0 }
staticconstexpr