Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 709 vs 710 for /trunk/Source Code/Dynamics/Entities/Particles/Headers/ParticleEmitter.h

Diff revisions: vs.
  @@ -41,8 +41,9 @@
41 41 /// https://github.com/fenbf/particles/blob/public/particlesCode
42 42 namespace Divide {
43 43
44 - class Texture;
45 44 class GenericVertexData;
45 +
46 + FWD_DECLARE_MANAGED_CLASS(Texture);
46 47 /// A Particle emitter scene node. Nothing smarter to say, sorry :"> - Ionut
47 48 class ParticleEmitter : public SceneNode {
48 49 public:
  @@ -107,9 +108,9 @@
107 108 U64 _lastUpdateTimer;
108 109
109 110 std::atomic_bool _updating;
110 - std::shared_ptr<ShaderProgram> _particleShader;
111 - std::shared_ptr<ShaderProgram> _particleDepthShader;
112 - std::shared_ptr<Texture> _particleTexture;
111 + ShaderProgram_ptr _particleShader;
112 + ShaderProgram_ptr _particleDepthShader;
113 + Texture_ptr _particleTexture;
113 114 };
114 115
115 116 TYPEDEF_SMART_POINTERS_FOR_CLASS(ParticleEmitter);