Skip to content

Commit 0286852

Browse files
committed
Add size for R8G8B8A8_UInt DXGI format to managed code
1 parent ca7e4d6 commit 0286852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MMManaged/MeshUtil.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ map_Kd $$filename
508508
| SharpDX.DXGI.Format.R32G32B32A32_Float -> 16
509509
| SharpDX.DXGI.Format.R16G16_Float -> 4
510510
| SharpDX.DXGI.Format.R16G16B16A16_Float -> 8
511+
| SharpDX.DXGI.Format.R8G8B8A8_UInt -> 4
511512
| _ -> failwithf "Some lazy person didn't fill in the size of type %A" f
512513
int hElement.Offset + sizeBytes
513514

0 commit comments

Comments
 (0)