Vertex.this - multiple declarations
Function Vertex.this
Constructs a dsdl from a vanilla SDL_Vertex from bindbc-sdl
ref this
(
sdl .render .SDL_Vertex sdlVertex
) @safe;
Parameters
| Name | Description |
|---|---|
| sdlVertex | the dsdl struct |
Function Vertex.this
Constructs a dsdl 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 |