diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-08 22:40:41 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-08 22:40:41 -0400 |
| commit | adac5936d2e16ee5d07d12baffb54ce60b1dfcea (patch) | |
| tree | f231dc6052c330287ccc5e0c8ae3865653ccff40 /include/JSystem/J3DGraphBase | |
| parent | b255434807c925d33ddca43392f5fc50c3c6474f (diff) | |
Minor cleanup
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DMatBlock.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h index 41a98e0b..38af7236 100644 --- a/include/JSystem/J3DGraphBase/J3DMatBlock.h +++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h @@ -610,26 +610,17 @@ struct J3DBlend : public J3DBlendInfo { void setBlendInfo(const J3DBlendInfo& info) { *(J3DBlendInfo*)this = info; } GXBlendMode getType() const { return (GXBlendMode)mBlendMode; } + void setType(u8 i_type) { mBlendMode = i_type; } GXBlendFactor getSrcFactor() const { return (GXBlendFactor)mSrcFactor; } + void setSrcFactor(u8 i_src) { mSrcFactor = i_src; } GXBlendFactor getDstFactor() const { return (GXBlendFactor)mDstFactor; } + void setDstFactor(u8 i_dst) { mDstFactor = i_dst; } GXLogicOp getOp() const { return (GXLogicOp)mLogicOp; } void load(u8 ditherEnable) { J3DGDSetBlendMode(getType(), getSrcFactor(), getDstFactor(), getOp(), ditherEnable); } - void setType(u8 i_type) { - mBlendMode = i_type; - } - - void setSrcFactor(u8 i_src) { - mSrcFactor = i_src; - } - - void setDstFactor(u8 i_dst) { - mDstFactor = i_dst; - } - // void operator=(const J3DBlend&) {} // void operator==(J3DBlend&) {} }; |
