Handle vtx highlights outside UI, for complex topologies. Refs #85

This commit is contained in:
baldurk
2014-09-28 02:24:57 +01:00
parent 7da04de998
commit faeb047211
8 changed files with 663 additions and 160 deletions
+8 -11
View File
@@ -355,17 +355,14 @@ namespace renderdoc
public bool thisDrawOnly = true;
public bool showVerts;
[StructLayout(LayoutKind.Sequential)]
public struct HighlightVerts
{
public FloatVector v0;
public FloatVector v1;
public FloatVector v2;
};
[CustomMarshalAs(CustomUnmanagedType.CustomClass)]
public HighlightVerts highlight = new HighlightVerts();
public UInt32 highlightVert;
public ResourceId positionBuf;
public UInt32 positionOffset;
public UInt32 positionStride;
public UInt32 positionCompCount;
public UInt32 positionCompByteWidth;
public FormatComponentType positionCompType;
public SpecialFormat positionFormat;
public FloatVector prevMeshColour = new FloatVector();
public FloatVector currentMeshColour = new FloatVector();