Skip to content

Commit

Permalink
Minor docs fixes (MonoGame#8478)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maniekko authored Sep 6, 2024
1 parent 7ad749a commit 474149c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 5 additions & 4 deletions MonoGame.Framework/Content/ContentManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public ContentManager(IServiceProvider serviceProvider)
}

/// <inheritdoc cref="ContentManager.ContentManager(IServiceProvider)"/>
/// <param name="serviceProvider"/>
/// <param name="rootDirectory">The root directory the ContentManager will search for content in.</param>
public ContentManager(IServiceProvider serviceProvider, string rootDirectory)
{
Expand Down Expand Up @@ -230,8 +231,8 @@ protected virtual void Dispose(bool disposing)
/// The type of asset to load.
/// </para>
/// <para>
/// <see cref="Effect"/>, <see cref="Model"/>, <see cref="SoundEffect"/>,
/// <see cref="Song"/>, <see cref="SpriteFont"/>, <see cref="Texture"/>, <see cref="Texture2D"/>,
/// <see cref="Effect"/>, <see cref="Model"/>, <see cref="Audio.SoundEffect"/>,
/// <see cref="Media.Song"/>, <see cref="SpriteFont"/>, <see cref="Texture"/>, <see cref="Texture2D"/>,
/// and <see cref="TextureCube"/> are all supported by default by the standard Content Pipeline
/// processor, but additional types may be loaded by extending the processor.
/// </para>
Expand Down Expand Up @@ -299,8 +300,8 @@ public virtual T LoadLocalized<T> (string assetName)
/// The type of asset to load.
/// </para>
/// <para>
/// <see cref="Effect"/>, <see cref="Model"/>, <see cref="SoundEffect"/>,
/// <see cref="Song"/>, <see cref="SpriteFont"/>, <see cref="Texture"/>, <see cref="Texture2D"/>,
/// <see cref="Effect"/>, <see cref="Model"/>, <see cref="Audio.SoundEffect"/>,
/// <see cref="Media.Song"/>, <see cref="SpriteFont"/>, <see cref="Texture"/>, <see cref="Texture2D"/>,
/// and <see cref="TextureCube"/> are all supported by default by the standard Content Pipeline
/// processor, but additional types may be loaded by extending the processor.
/// </para>
Expand Down
2 changes: 1 addition & 1 deletion MonoGame.Framework/Graphics/IGraphicsDeviceService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public interface IGraphicsDeviceService
/// <summary>
/// Raised when the <see cref="GraphicsDevice"/> has reset.
/// </summary>
/// <seealso cref="Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset"/>
/// <seealso cref="Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset()"/>
event EventHandler<EventArgs> DeviceReset;

/// <summary>
Expand Down
4 changes: 4 additions & 0 deletions MonoGame.Framework/Graphics/Vertices/VertexBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ public VertexBuffer(GraphicsDevice graphicsDevice, VertexDeclaration vertexDecla
/// Creates a new instance of <see cref="VertexBuffer"/>
/// </summary>
/// <param name="graphicsDevice">The graphics device.</param>
/// <param name="type">
/// The data type.
/// Must be a value type which implements the <see cref="IVertexType"/> interface.
/// </param>
/// <param name="vertexCount">The number of vertices.</param>
/// <param name="bufferUsage">Behavior options.</param>
/// <exception cref="ArgumentNullException"><paramref name="graphicsDevice"/> is <see langword="null"/></exception>
Expand Down

0 comments on commit 474149c

Please sign in to comment.