Namespace BSGameLib.Game.Textures
Classes
- SubTexture
A part of another texture, which can be drawn as an image of its own. The pixels stay in ParentTexture; this holds the Region of them.
Structs
- LoadSubTextureFromTexture
Makes a sub-texture of
Texturethat covers the part atPositionand ofSize.
- LoadTextureByBytes
Loads a texture from the bytes of an encoded image file, such as a PNG or JPEG.
- LoadTextureByColors
Makes a texture from an array of colours, one per pixel, row by row.
- LoadTextureByFileName
Loads a texture from an image file.
- LoadTextureByRenderTarget
Makes a texture from the current contents of a render target.
- LoadTextureFromStream
Loads a texture from a stream of encoded image bytes.
- LoadTextureRegionByTextureWithRegions
Makes a region atlas over Texture with Regions already added to it.
- TextureRegion
A named rectangle within a texture, in pixels.
Interfaces
- IRegionTextureAtlas
A texture atlas whose items are named regions, added to it by name, rather than a grid.
- ITexture
A texture on the graphics device, loaded from a file or made in code.
- ITextureAtlas
A texture divided into items. Each item is a SubTexture, got by its index.
- ITextureFactoryProvider
Finds the texture factory for a texture type and parameter type, and creates textures through it.
- ITextureFactory<TTexture, TTextureParameters>
Creates textures of one type from one kind of parameters.
- ITextureLoader
Loads textures from files and streams.
- ITextureParameters
Marks a type that describes a texture to load, such as LoadTextureByFileName.