[2.0.0-rc.2] Fix global options to be static.
All checks were successful
Build / build (push) Successful in 1m37s
All checks were successful
Build / build (push) Successful in 1m37s
This commit is contained in:
parent
d9a9e3962f
commit
e759efacf6
@ -13,7 +13,7 @@
|
|||||||
<!-- Nuget Properties. -->
|
<!-- Nuget Properties. -->
|
||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
<PackageId>ReFuel.StbImage</PackageId>
|
<PackageId>ReFuel.StbImage</PackageId>
|
||||||
<Version>2.0-rc</Version>
|
<Version>2.0-rc.2</Version>
|
||||||
<Authors>STBI Authors, H. Utku Maden</Authors>
|
<Authors>STBI Authors, H. Utku Maden</Authors>
|
||||||
<Description>
|
<Description>
|
||||||
A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library.
|
A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library.
|
||||||
|
@ -157,7 +157,7 @@ namespace ReFuel.Stb
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// -1 for auto, 0 through 5 to pick a filter. Higher is more. Not thread safe.
|
/// -1 for auto, 0 through 5 to pick a filter. Higher is more. Not thread safe.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public int WriteForcePngFilter
|
public static int WriteForcePngFilter
|
||||||
{
|
{
|
||||||
get => Stbi.write_force_png_filter;
|
get => Stbi.write_force_png_filter;
|
||||||
set
|
set
|
||||||
@ -177,7 +177,7 @@ namespace ReFuel.Stb
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Higher is more. Defaults to 8. Not thread safe.
|
/// Higher is more. Defaults to 8. Not thread safe.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public int WritePngCompressionLevel
|
public static int WritePngCompressionLevel
|
||||||
{
|
{
|
||||||
get => Stbi.write_png_compression_level;
|
get => Stbi.write_png_compression_level;
|
||||||
set => Stbi.write_png_compression_level = value;
|
set => Stbi.write_png_compression_level = value;
|
||||||
@ -189,7 +189,7 @@ namespace ReFuel.Stb
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Not thread safe.
|
/// Not thread safe.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public bool WriteTgaEnableRLE
|
public static bool WriteTgaEnableRLE
|
||||||
{
|
{
|
||||||
get => Stbi.write_tga_with_rle != 0;
|
get => Stbi.write_tga_with_rle != 0;
|
||||||
set => Stbi.write_tga_with_rle = value ? 1 : 0;
|
set => Stbi.write_tga_with_rle = value ? 1 : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user