d2dgame v3.0.0-beta.3 (2021-12-03T16:28:11Z)
Dub
Repo
Texture.this
d2d
rendering
texture
Texture
Creates and loads the texture with the given filters.
this
()
this
(string file, TextureFilterMode min, TextureFilterMode mag, TextureClampMode wrapX, TextureClampMode wrapY)
class
Texture
version(BindSDL_Image)
this
(
string
file
,
TextureFilterMode
min
=
TextureFilterMode.Linear
,
TextureFilterMode
mag
=
TextureFilterMode.Linear
,
TextureClampMode
wrapX
=
TextureClampMode.Repeat
,
TextureClampMode
wrapY
=
TextureClampMode.Repeat
)
Meta
Source
See Implementation
d2d
rendering
texture
Texture
constructors
this
destructors
~this
functions
applyParameters
bind
create
dispose
fromBitmap
recreate
recreateFromBitmap
resize
properties
height
id
valid
white
width
static functions
load
static variables
supportsAnisotropy
variables
enableMipMaps
magFilter
minFilter
wrapX
wrapY
Creates and loads the texture with the given filters.