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)] [StructLayout(LayoutKind.Sequential)]
public struct TextureCreateInfo public struct TextureCreateInfo
{ {
uint width; public uint width;
uint height; public uint height;
uint depth; public uint depth;
byte isCube; public byte isCube;
SampleCount sampleCount; public SampleCount sampleCount;
uint levelCount; public uint levelCount;
ColorFormat format; public ColorFormat format;
uint usageFlags; /* Refresh_TextureUsageFlags */ public uint usageFlags; /* Refresh_TextureUsageFlags */
} }
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]