From 5591c81d14d75dc24759dc2843e7b05ab6d98ecc Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Thu, 14 Jan 2021 02:07:17 -0800 Subject: [PATCH] fields should be public --- src/Refresh.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index a5cf10e..72d05c1 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -493,14 +493,14 @@ namespace RefreshCS [StructLayout(LayoutKind.Sequential)] public struct TextureCreateInfo { - uint width; - uint height; - uint depth; - byte isCube; - SampleCount sampleCount; - uint levelCount; - ColorFormat format; - uint usageFlags; /* Refresh_TextureUsageFlags */ + public uint width; + public uint height; + public uint depth; + public byte isCube; + public SampleCount sampleCount; + public uint levelCount; + public ColorFormat format; + public uint usageFlags; /* Refresh_TextureUsageFlags */ } [StructLayout(LayoutKind.Sequential)]