Skip to content

Commit

Permalink
document animmodel::alphatest
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Nov 28, 2024
1 parent 28d59da commit eda46ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/engine/model/animmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,14 @@ class animmodel : public model
void setspec(float spec) override final;
void setgloss(int gloss) override final;
void setglow(float glow, float delta, float pulse) override final;
/**
* @brief Sets the alphatest value for each skin in each part of this model
*
* alphatest is one of the shader parameters for the skin shader. Each skin
* in this model will recieve the same alphatest value.
*
* @param alphatest the alphatest value to set
*/
void setalphatest(float alphatest) override final;
void setfullbright(float fullbright) override final;
void setcullface(int cullface) override final;
Expand Down

0 comments on commit eda46ff

Please sign in to comment.