LeviLamina
Loading...
Searching...
No Matches
ParticleEngine Class Reference
Inheritance diagram for ParticleEngine:

Public Types

using ParticleBin = ::std::vector<::std::unique_ptr<::Particle>>
using ParticleTextureMap = ::std::unordered_map<::ParticleType, ::std::vector<::std::unique_ptr<::Particle>>>

Public Member Functions

ParticleEngineoperator= (ParticleEngine const &)
 ParticleEngine (ParticleEngine const &)
MCAPI ParticleEngine (::Level &level, ::Bedrock::NotNullNonOwnerPtr<::SeasonsRenderer > seasons, ::LightTexture &lightTexture)
MCAPI ::std::unique_ptr<::Particle_create (::ParticleType type)
MCAPI void _emitParticleNew (::ParticleSystemEngine &particleSystemEngine, ::ParticleType type, ::Vec3 const &pos, ::Vec3 const &dir, int data)
MCAPI::ParticleLayerRenderObject _extractParticleLayer (::ScreenContext &screenContext, ::ParticleRenderContext const &particleRenderContext, ::ParticleLayer particleLayer, ::mce::MaterialPtr const &mat) const
MCAPI void addCustomParticle (::std::unique_ptr<::CustomParticle > particle)
MCAPI void clear ()
MCAPI::ParticleRenderObjectCollection extract (::ScreenContext &screenContext, ::Vec3 const &cameraPos, ::Vec3 const &viewOff, float minDist) const
MCAPI::ParticleRenderObjectCollection extractEmptyCollection (::ScreenContext &screenContext) const
MCAPI ::gsl::final_action<::std::function< void()> > forceTessellationForTemporaryCamera ()
MCAPI::Particle * instance (::ParticleType type, ::Vec3 const &pos, ::Vec3 const &dir, int data, ::ParticleSystemEngine *particleSystemEngine, ::CompoundTag const *tag)
MCAPI void onDimensionChanged ()
MCAPI void renderCustomParticles (::BaseActorRenderContext &renderContext, ::Vec3 const &viewOff, float minDist)
MCAPI void tick ()
MCAPI void * $ctor (::Level &level, ::Bedrock::NotNullNonOwnerPtr<::SeasonsRenderer > seasons, ::LightTexture &lightTexture)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void render (::ScreenContext &screenContext, ::ParticleLayerRenderObject const &particleState)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 2448, ::std::vector<::std::unique_ptr<::Particle > >[102]> mInactiveParticlesPool
::ll::TypedStorage< 8, 8, ::Level & > mLevel
::ll::TypedStorage< 8, 6528, ::std::unordered_map<::ParticleType, ::std::vector<::std::unique_ptr<::Particle > > >[102]> mActiveParticles
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::CustomParticle > > > customParticles
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::Particle > > > mNewParticles
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::SeasonsRenderer > > mSeasons
::ll::TypedStorage< 8, 8, ::LightTexture & > mLightTexture
::ll::TypedStorage< 8, 2544, ::Randomrandom
::ll::TypedStorage< 8, 16, ::mce::MaterialPtropaqueMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtralphaTestMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrblendMat
::ll::TypedStorage< 4, 408, uint[102]> maxParticleCount
::ll::TypedStorage< 4, 408, uint[102]> particleCount
::ll::TypedStorage< 1, 1, bool > mTemporaryCameraActive
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ParticleType, ::HashedString > > mNewParticleSystemJsonLookup
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::ParticleType, ::Bedrock::slot_map_handle<::std::unique_ptr<::ParticleSystem::ParticleEmitter >, 64, 32 > > > mNewParticleSystemMap
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ $vftable()

MCAPI void ** ParticleEngine::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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