diff --git a/RGB.NET.Core/Rendering/Textures/PixelTexture.cs b/RGB.NET.Core/Rendering/Textures/PixelTexture.cs index 8fd1da6..170d2d5 100644 --- a/RGB.NET.Core/Rendering/Textures/PixelTexture.cs +++ b/RGB.NET.Core/Rendering/Textures/PixelTexture.cs @@ -14,7 +14,7 @@ public abstract class PixelTexture : ITexture where T : unmanaged { #region Properties & Fields - + /// /// Gets the underlying pixel data. /// @@ -23,12 +23,12 @@ public abstract class PixelTexture : ITexture /// /// Gets the amount of data-entries per pixel. /// - protected readonly int DataPerPixel; + protected int DataPerPixel { get; } /// /// Gets the stride of the data. /// - protected readonly int Stride; + protected int Stride { get; } /// /// Gets or sets the sampler used to get the color of a region.