fields should be public

main
cosmonaut 2021-01-14 02:07:17 -08:00
parent 61a1983092
commit 5591c81d14
1 changed files with 8 additions and 8 deletions

View File

@ -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)]