parent
ede3d4a99c
commit
1ff5034713
@ -11,3 +11,11 @@
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```csharp
|
||||
// Make a 1x1 white texture:
|
||||
Texture2D whiteTexture = new Texture2D(GraphicsDevice, 1, 1);
|
||||
whiteTexture.SetData(new Color[] { Color.White });
|
||||
// When done with it:
|
||||
whiteTexture.Dispose();
|
||||
```
|
Loading…
Reference in New Issue
Block a user