dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Shape.setTexture
Dgame
Graphic
Shape
Shape
Set (or reset) a Texture and set the corresponding Rect
void
setTexture
(Texture* texture)
void
setTexture
(Texture* texture, Rect rect)
class
Shape
final @
nogc
pure nothrow
void
setTexture
(
Texture
*
texture
,
const
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 and set the corresponding Rect