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

Public Attributes

byte _pad0
 
byte _pad1
 
Bin8 _data
 

Static Public Attributes

static readonly ZMode Default = new ZMode {_data = 0x17}
 

Properties

bool EnableDepthTest [get, set]
 
bool EnableDepthUpdate [get, set]
 
GXCompare DepthFunction [get, set]
 

Member Data Documentation

◆ _data

Bin8 BrawlLib.Wii.Graphics.ZMode._data

◆ _pad0

byte BrawlLib.Wii.Graphics.ZMode._pad0

◆ _pad1

byte BrawlLib.Wii.Graphics.ZMode._pad1

◆ Default

readonly ZMode BrawlLib.Wii.Graphics.ZMode.Default = new ZMode {_data = 0x17}
static

Property Documentation

◆ DepthFunction

GXCompare BrawlLib.Wii.Graphics.ZMode.DepthFunction
getset
89 {
90 get => (GXCompare) _data[1, 3];
91 set => _data[1, 3] = (byte) value;
92 }
GXCompare
Definition: Enum.cs:35
Bin8 _data
Definition: BP.cs:74

◆ EnableDepthTest

bool BrawlLib.Wii.Graphics.ZMode.EnableDepthTest
getset
77 {
78 get => _data[0];
79 set => _data[0] = value;
80 }

◆ EnableDepthUpdate

bool BrawlLib.Wii.Graphics.ZMode.EnableDepthUpdate
getset
83 {
84 get => _data[4];
85 set => _data[4] = value;
86 }

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