Skip to content

Commit df2a6d4

Browse files
authored
Update README.md
1 parent 5f95ca1 commit df2a6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ Below is a list of the GPU_* types and their corresponding GLSL data types:
6161
- GPU_Color: `dvec4`
6262
- GPU_Float: `double`, `float`
6363
- GPU_Image: `image2D`
64-
- GPU_Integer: `int`
64+
- GPU_Integer: `int`, `unit`
6565
- GPU_PackedByteArray: Can be used for custom encoding
6666
- GPU_PackedFloat64Array: `double[]`
6767
- GPU_PackedVector3Array: `vec3[]`, `vec4[]`
6868
- GPU_Struct: `struct` (see below)
6969
- GPU_StructArray: `struct[]` (see below)
7070
- GPU_Texture2DArray: `image2DArray`
7171
- GPU_Vector3: `dvec3`, `dvec4`
72-
- GPU_Vector3i: `ivec3`, `ivec4`
72+
- GPU_Vector3i: `ivec3`, `ivec4`, `uvec3`, `uvec4`
7373

7474
### Structs
7575
Structs have an extra setup step compared to the other basic types. `GPU_Struct` has a property called `struct_data`. This property is the initial data that the struct will take in, and its structure must match the structure of the `struct` in your shader.

0 commit comments

Comments
 (0)