Load(RenderContextBase,Bitmap,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean,Boolean,Boolean) Method
In This Topic
Loads the texture
Syntax
Parameters
- renderContext
- The render context
- bitmap
- The image
- minFunc
- Minifying function
- magFunc
- Magnifying function
- anisotropicFiltering
- If true, enables anisotropic filtering for mipmapping
- repeatX
- If true, the texture is repeated in the X direction
- repeatY
- If true, the texture is repeated in the Y direction
- checkPowerOfTwo
- If true, checks that the image size is power of two
- enlargeIfSizeNotSupported
- If true, the image is put in a bigger image (with some empty border, keeping the originla size of image)
when the image is not power of two and the hardware does not support it. Else it is resized to a smaller power of two size.
See Also