#import <BNBTexture.h>
Definition at line 8 of file BNBTexture.h.
◆ getFilteringMode
- (BNBTextureFilteringMode) getFilteringMode |
|
|
|
Get current filtering mode.
◆ getHeight
Get height of loaded image.
◆ getLayers
◆ getLevels
Get number of images in mipmap chain.
◆ getTiling
Get current tiling setting.
◆ getWidth
Get width of loaded image.
◆ hasMips
Get current mipmaps generation setting.
◆ isVflipped
Get vertical flip setting.
◆ load:
- (void) load: |
|
(nonnull NSString *) |
fileName |
|
Load texture from specified file.
◆ loadKtx:
- (void) loadKtx: |
|
(nonnull NSString *) |
fileName |
|
◆ setFiltering:
- (void) setFiltering: |
|
(BNBTextureFilteringMode) |
type |
|
Set texture filtering mode (linear by default)
◆ setMips:
- (void) setMips: |
|
(BOOL) |
enable |
|
Enable/disable mipmaps generation (on by default)
◆ setTiling:
- (void) setTiling: |
|
(BOOL) |
enable |
|
Enable/disable texture tiling.
◆ setVflip:
- (void) setVflip: |
|
(BOOL) |
enable |
|
Set vertical flip on load.
The documentation for this class was generated from the following file: