1x1 fully transparent texture.
Height of the texture in pixels.
Image format of this texture.
Whether this texture has finished loading or not.
Width of the texture in pixels.
Begin creation of a custom texture. Finish by calling TextureBuilder.Create.
Begins creation of a render target. Finish by calling TextureBuilder.Create. Render targets can be used for fancy things like Graphics.RenderToTexture.
A convenience function to quickly create a render target. Render targets can be used for fancy things like Graphics.RenderToTexture.
This will create a render target texture if `` is null or doesn't match what you've passed in. This is designed to be called regularly to resize your texture in response to other things changing (like the screen size, panel size etc).
This version is able to load http images - but not images from disk
Load a texture asynchronously. Will return when the texture is loaded and valid. This is useful when loading textures from the web.
Load avatar image of a Steam user.
Load avatar image of a Steam user.
Will release the handle for this texture. If the texture isn't referenced by anything else it'll be released properly. This will happen anyway because it's called in the destructor. By calling it manually you're just telling the engine you're done with this texture right now instead of waiting for the garbage collector.
Reads pixel colors from the texture at the specified mip level