Vertex.this - multiple declarations
Function Vertex.this
Constructs a dsdl2
from a vanilla SDL_Vertex
from bindbc-sdl
ref this
(
sdl .render .SDL_Vertex sdlVertex
) @safe;
Parameters
Name | Description |
---|---|
sdlVertex | the dsdl2 struct |
Function Vertex.this
Constructs a dsdl2
by feeding in the position, color, and texture coordinate
Parameters
Name | Description |
---|---|
position | vertex target position |
color | color and alpha modulation of the vertex |
texCoord | vertex texture coordinate |