BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | Properties | List of all members
BrawlLib.Wii.Graphics.BlendMode Struct Reference

Public Attributes

byte _pad
 
Bin16 _data
 

Static Public Attributes

static readonly BlendMode Default = new BlendMode {_data = 0x34A0}
 

Properties

bool EnableBlend [get, set]
 
bool EnableLogicOp [get, set]
 
bool EnableDither [get, set]
 
bool EnableColorUpdate [get, set]
 
bool EnableAlphaUpdate [get, set]
 
BlendFactor DstFactor [get, set]
 
BlendFactor SrcFactor [get, set]
 
bool Subtract [get, set]
 
GXLogicOp LogicOp [get, set]
 

Member Data Documentation

◆ _data

Bin16 BrawlLib.Wii.Graphics.BlendMode._data

◆ _pad

byte BrawlLib.Wii.Graphics.BlendMode._pad

◆ Default

readonly BlendMode BrawlLib.Wii.Graphics.BlendMode.Default = new BlendMode {_data = 0x34A0}
static

Property Documentation

◆ DstFactor

BlendFactor BrawlLib.Wii.Graphics.BlendMode.DstFactor
getset
144 {
145 get => (BlendFactor) _data[5, 3];
146 set => _data[5, 3] = (ushort) value;
147 }
BlendFactor
Definition: Enum.cs:208
Bin16 _data
Definition: BP.cs:111

◆ EnableAlphaUpdate

bool BrawlLib.Wii.Graphics.BlendMode.EnableAlphaUpdate
getset
138 {
139 get => _data[4];
140 set => _data[4] = value;
141 }

◆ EnableBlend

bool BrawlLib.Wii.Graphics.BlendMode.EnableBlend
getset
114 {
115 get => _data[0];
116 set => _data[0] = value;
117 }

◆ EnableColorUpdate

bool BrawlLib.Wii.Graphics.BlendMode.EnableColorUpdate
getset
132 {
133 get => _data[3];
134 set => _data[3] = value;
135 }

◆ EnableDither

bool BrawlLib.Wii.Graphics.BlendMode.EnableDither
getset
126 {
127 get => _data[2];
128 set => _data[2] = value;
129 }

◆ EnableLogicOp

bool BrawlLib.Wii.Graphics.BlendMode.EnableLogicOp
getset
120 {
121 get => _data[1];
122 set => _data[1] = value;
123 }

◆ LogicOp

GXLogicOp BrawlLib.Wii.Graphics.BlendMode.LogicOp
getset
162 {
163 get => (GXLogicOp) _data[12, 4];
164 set => _data[12, 4] = (ushort) value;
165 }
GXLogicOp
Definition: Enum.cs:55

◆ SrcFactor

BlendFactor BrawlLib.Wii.Graphics.BlendMode.SrcFactor
getset
150 {
151 get => (BlendFactor) _data[8, 3];
152 set => _data[8, 3] = (ushort) value;
153 }

◆ Subtract

bool BrawlLib.Wii.Graphics.BlendMode.Subtract
getset
156 {
157 get => _data[11];
158 set => _data[11] = value;
159 }

The documentation for this struct was generated from the following file: