CreateTexture2D(Image,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean,Boolean) Method
In This Topic
Creates a 2D texture from an image.
Syntax
Parameters
- image
- The image
- minFunc
- Minification function
- magFunc
- Magnification function
- anisotropicFiltering
- If true, enables anisotropic filtering for mipmapping
- enlargeIfSizeNotSupported
- If true, the image is put in a bigger image (with some empty border, keeping the original 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.
- repeatX
- If true, the texture is repeated in the X direction
- repeatY
- If true, the texture is repeated in the Y direction
Return Value
See Also