dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Shape.setTexture
Dgame
Graphic
Shape
Shape
Set or reset a Texture
void
setTexture
(Texture* texture)
class
Shape
final @
nogc
pure nothrow
void
setTexture
(
Texture
*
texture
)
void
setTexture
(Texture* texture, Rect rect)
Meta
Source
See Implementation
Dgame
Graphic
Shape
Shape
constructors
this
enums
Fill
functions
append
clear
draw
getClipRect
getTexture
getVertexRect
getVertices
setColor
setTexture
setTextureRect
variables
_texture
_vertices
antiAliasing
fill
geometry
lineWidth
Set or reset a Texture