Open MrcSnm opened 1 year ago
The following struct shows in the default constructor as if floatsCount and quadsCount were arguments.
struct HipTextRendererVertex { import hip.math.vector; Vector3 vPosition; @HipShaderInputPadding float _; Vector2 vTexST; static enum size_t floatsCount = (HipTextRendererVertex.sizeof / float.sizeof); static enum size_t quadsCount = floatsCount*4; }
The following struct shows in the default constructor as if floatsCount and quadsCount were arguments.