|
EzGL
|
Texture component with image file loading support. More...
Go to the source code of this file.
Texture component with image file loading support.
Texture render position and dimensions match that of the object's "x", "y", "w", and "h" dimensions. To load an image from file specify its relative path in "texture". If instead you want to render a solid, colored rectangle, provide an integer RGBA array of size four in "color".
Example with image file:
Example with color:
1.8.15