bags refactor
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "math/vec4.hpp"
|
||||
#include "renderer/3d/pipeline/shared/bag/pipeline_lighting_bag.hpp"
|
||||
|
||||
#include "renderer/3d/pipeline/shared/bag/pipeline_info_bag.hpp"
|
||||
#include "./dynpip_color_bag.hpp"
|
||||
#include "./dynpip_lighting_bag.hpp"
|
||||
#include "./dynpip_texture_bag.hpp"
|
||||
#include "renderer/core/texture/models/texture.hpp"
|
||||
|
||||
@@ -35,17 +36,27 @@ class DynPipBag {
|
||||
/** Mandatory. Object color(s). */
|
||||
DynPipColorBag* color;
|
||||
|
||||
/** Mandatory. Vertex count. */
|
||||
/** Mandatory. Vertex count per frame. */
|
||||
u32 count;
|
||||
|
||||
/** Mandatory. Vertices. */
|
||||
Vec4* vertices;
|
||||
/** Mandatory. From (frame) vertices */
|
||||
Vec4* verticesFrom;
|
||||
|
||||
/** Mandatory. To (frame) vertices */
|
||||
Vec4* verticesTo;
|
||||
|
||||
/**
|
||||
* Mandatory.
|
||||
* State of animation interpolation
|
||||
* (between from and to)
|
||||
*/
|
||||
float interpolation;
|
||||
|
||||
/** Optional. Texture coordinates and image. */
|
||||
DynPipTextureBag* texture;
|
||||
|
||||
/** Optional. Object lighting. */
|
||||
PipelineLightingBag* lighting;
|
||||
DynPipLightingBag* lighting;
|
||||
|
||||
void print() const;
|
||||
void print(const char* name) const;
|
||||
|
||||
Reference in New Issue
Block a user