diff options
| author | Carco_21 <144170194+carter-ktb21@users.noreply.github.com> | 2025-07-10 19:16:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 02:16:30 +0300 |
| commit | b67414ef1a5f084b6d3fc08b066e5d1cabc3cb2a (patch) | |
| tree | 80474d17ac06c8eb3884e60136d393d29a6ee334 /include/JSystem/J3DGraphBase | |
| parent | 3de6b37edf0ddf48eff336f66130f4379460e3d4 (diff) | |
d_a_demo00 work (#2525)
* Initial work
* Got to ke_control
* draw function
* tiny execute work
* all functions worked on
* PR cleanup
* Took out static keyword for dDemo_setDemoData
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DMatBlock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h index 08ffccddb9..9d25587042 100644 --- a/include/JSystem/J3DGraphBase/J3DMatBlock.h +++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h @@ -726,6 +726,8 @@ struct J3DBlend : public J3DBlendInfo { void load(u8 ditherEnable) { J3DGDSetBlendMode(getBlendMode(), getSrcFactor(), getDstFactor(), getLogicOp(), ditherEnable); } + + void setBlendInfo(const J3DBlendInfo& i_blendInfo) { *static_cast<J3DBlendInfo*>(this) = i_blendInfo; } }; extern const J3DFogInfo j3dDefaultFogInfo; |
