3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/common/BrightnessPair.h"
7#include "mc/deps/core/math/Color.h"
8#include "mc/deps/core/math/Matrix.h"
9#include "mc/deps/core/math/Vec2.h"
10#include "mc/deps/core/math/Vec3.h"
11#include "mc/deps/core/math/Vec4.h"
29 enum class FaceCameraMode :
int {
39 EmitterTransformXY = 9,
40 EmitterTransformXZ = 10,
41 EmitterTransformYZ = 11,
48 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
49 ::ll::TypedStorage<1, 2, ::BrightnessPair> mAmbientLighting;
50 ::ll::TypedStorage<4, 8, ::Vec2> mUV0;
51 ::ll::TypedStorage<4, 8, ::Vec2> mUV1;
52 ::ll::TypedStorage<4, 12, ::Vec3> mWorldPos;
53 ::ll::TypedStorage<4, 12, ::Vec3> mParticleDirection;
54 ::ll::TypedStorage<4, 8, ::Vec2> mSize;
55 ::ll::TypedStorage<4, 16, ::Vec4> mRandomNumbers;
56 ::ll::TypedStorage<4, 4, float> mRotation;
57 ::ll::TypedStorage<2, 2, ushort> mTextureIdx;
58 ::ll::TypedStorage<2, 2, ushort> mMaterialIdx;
59 ::ll::TypedStorage<4, 4, ::ParticleRenderData::FaceCameraMode> mFaceCameraMode;
60 ::ll::TypedStorage<4, 64, ::Matrix> mCustomOrientation;
61 ::ll::TypedStorage<4, 4, uint> mParticleType;
68 ::ll::TypedStorage<8, 24, ::std::vector<::ParticleRenderData::ParticleData>> mParticles;
69 ::ll::TypedStorage<8, 24, ::std::vector<::std::optional<::MERSUniformData>>> mMERSUniforms;
70 ::ll::TypedStorage<8, 24, ::std::vector<::PBRTexturePtrs>> mTexturesList;
71 ::ll::TypedStorage<8, 24, ::std::vector<::mce::MaterialPtr>> mMaterialsList;
72 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ushort>> mTexturesMap;
73 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ushort>> mMaterialsMap;
79 MCAPI ushort addTexture(::PBRTexturePtrs
const& texturePtr, ::std::optional<::MERSUniformData>
const& mersUniform);
81 MCAPI ~ParticleRenderData();
Definition HashedString.h:5
Definition ParticleRenderData.h:5
Definition MaterialPtr.h:15
Definition PBRTexturePtrs.h:5
Definition ParticleRenderData.h:15