Opened 6 years ago
Last modified 4 years ago
#453 new enhancement
support of typed array for records/arrays
Reported by: | vadim.godunko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 19.0 |
Component: | Matreshka - a2js | Version: | |
Keywords: | Cc: |
Description (last modified by )
Data structures for WebGL should preserve raw memory structure to be able to be send to GL server. This requires support from A2JS. For example:
type Point is record X : OpenGL.GLfloat; Y : OpenGL.GLfloat; Z : OpenGL.GLfloat; A : OpenGL.GLubyte; B : OpenGL.GLubyte; C : OpenGL.GLubyte; end record; type Point_Array is array (Positive range <>) of Point;
or
type Point is record Coords : OpenGL.GLfloat_Vector_3; Id : OpenGL.GLubyte_Vector_3; end record; type Point_Array is array (Positive range <>) of Point;
Set of possible types of members are limited:
- Interfaces.Integer_8 (and derived)
- Interfaces.Unsigned_8 (and derived)
- Interfaces.Integer_16 (and derived)
- Interfaces.Unsigned_16 (and derived)
- Interfaces.Integer_32 (and derived)
- Interfaces.IEEE_Float_32 (and derived)
- vectors and matrices of above types (note, matrices should have convention Fortran to be mapped properly)
Change History (9)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
comment:2 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
In 5550: