public void Load(BinaryReader reader) { Name = reader.ReadString(); var blend = new Blend(); blend.Load(reader); Blend = blend; CullMode = (CullMode)reader.ReadByte(); FillMode = (FillMode)reader.ReadByte(); ZWrite = reader.ReadBoolean(); LoadBytecode(reader, out _vertexBytecode); LoadBytecode(reader, out _pixelBytecode); LoadBytecode(reader, out _geometryBytecode); LoadBytecode(reader, out _computeBytecode); }