Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::WeightTarget Struct Reference

The one skinned entity a view colours by a joint's weights, and which joint. More...

#include <ViewShading.hpp>

Public Member Functions

bool active () const

Public Attributes

Entity entity = INVALID_ENTITY
u32 joint = 0

Detailed Description

The one skinned entity a view colours by a joint's weights, and which joint.

Not a ShadingMode: it picks out ONE draw among many, and everything else keeps the view's shading. A view with none stands for "the weights of nothing".

Definition at line 54 of file ViewShading.hpp.

Member Function Documentation

◆ active()

bool esengine::WeightTarget::active ( ) const
inline

Definition at line 57 of file ViewShading.hpp.

References entity, and esengine::INVALID_ENTITY.

Member Data Documentation

◆ entity

Entity esengine::WeightTarget::entity = INVALID_ENTITY

Definition at line 55 of file ViewShading.hpp.

Referenced by active(), and esengine::MeshPlugin::collect().

◆ joint

u32 esengine::WeightTarget::joint = 0

Definition at line 56 of file ViewShading.hpp.

Referenced by esengine::MeshPlugin::collect().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/frame/ViewShading.hpp