Skip to content

Commit 60d7a86

Browse files
Fixed SpriteBatch xref, no such item in the MonoGame API called "SpriteBatchItem" (https://docs.monogame.net/api/index.html?)
1 parent dafd0fc commit 60d7a86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • articles/tutorials/advanced/2d_shaders/07_sprite_vertex_effect

articles/tutorials/advanced/2d_shaders/07_sprite_vertex_effect/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The `SpriteVertexShader` looks different from our pixel shaders in a few importa
4545

4646
### Input Semantics
4747

48-
The inputs to the vertex shader mirror the information that the `SpriteBatch` class bundles up for each vertex. If you look at the [`SpriteBatchItem`](xref:Microsoft.Xna.Framework.Graphics.SpriteBatchItem), you will see that each sprite is made up of 4 `VertexPositionColorTexture` instances:
48+
The inputs to the vertex shader mirror the information that the []`SpriteBatch`](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch) class bundles up for each vertex. If you look at the `SpriteBatchItem`, you will see that each sprite is made up of 4 `VertexPositionColorTexture` instances:
4949

5050
```csharp
5151
public VertexPositionColorTexture vertexTL;

0 commit comments

Comments
 (0)