Vertex.this - multiple declarations

Function Vertex.this

Constructs a dsdl2.Vertex from a vanilla SDL_Vertex from bindbc-sdl

ref this (
  sdl.render.SDL_Vertex sdlVertex
) @safe;

Parameters

NameDescription
sdlVertex the dsdl2.Vertex struct

Function Vertex.this

Constructs a dsdl2.Vertex by feeding in the position, color, and texture coordinate

ref this (
  FPoint position,
  Color color,
  FPoint texCoord
) @safe;

Parameters

NameDescription
position vertex target position
color color and alpha modulation of the vertex
texCoord vertex texture coordinate