Skip to content

UI.HexViewer

Name - Description Default Type
<input> The data to visualize. Supports primitive types only (floats, ints, string and bytes). BytesEnumFloatFloat2Float3Float4IntInt2Int3Int4Int8Int16String
<output> The output of this shard will be its input. BytesEnumFloatFloat2Float3Float4IntInt2Int3Int4Int8Int16String

Displays an hexadecimal viewer of data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
(GFX.MainWindow
 :Contents
 (->
  (Setup
   (GFX.DrawQueue) >= .ui-draw-queue
   (GFX.UIPass .ui-draw-queue) >> .render-steps)
  (UI
   .ui-draw-queue
   (UI.CentralPanel
    (->
     (Setup
      "Hello shards!" >= .text)

     (UI.Horizontal
      (->
       "Text: " (UI.Label)
       (UI.TextField .text)))

     .text (UI.HexViewer))))

  (GFX.Render :Steps .render-steps)))