![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <OOPixMapTextureLoader.h>
Instance Methods | |
(id) | - initWithPixMap:textureOptions:freeWhenDone: |
(void) | - dealloc [implementation] |
(void) | - loadTexture [implementation] |
(uint32_t) | - textureOptions [implementation] |
![]() | |
(GLfloat) | - anisotropy |
(GLfloat) | - lodBias |
(NSString *) | - cacheKey |
(BOOL) | - enqueue |
![]() | |
(BOOL) | - isReady |
(BOOL) | - getResult:format:originalWidth:originalHeight: |
(id) | - initWithPath:options: |
(NSString *) | - path |
(NSString *) | - descriptionComponents [implementation] |
(NSString *) | - shortDescriptionComponents [implementation] |
(void) | - performAsyncTask [implementation] |
(void) | - generateMipMapsForCubeMap [implementation] |
(void) | - applySettings [implementation] |
(void) | - getDesiredWidth:andHeight: [implementation] |
(void) | - completeAsyncTask [implementation] |
Private Attributes | |
OOPixMap | _pixMap |
uint32_t | _texOptions |
Additional Inherited Members | |
![]() | |
(id) | + loaderWithPath:options: |
(id) | + loaderWithTextureSpecifier:extraOptions:folder: |
(void) | + setUp [implementation] |
![]() | |
NSString * | _path |
OOTextureFlags | _options |
uint8_t | _generateMipMaps: 1 |
uint8_t | _scaleAsNormalMap: 1 |
uint8_t | _avoidShrinking: 1 |
uint8_t | _noScalingWhatsoever: 1 |
uint8_t | _extractChannel: 1 |
uint8_t | _allowCubeMap: 1 |
uint8_t | _isCubeMap: 1 |
uint8_t | _ready: 1 |
uint8_t | _extractChannelIndex |
OOTextureDataFormat | _format |
void * | _data |
uint32_t | _width |
uint32_t | _height |
uint32_t | _originalWidth |
uint32_t | _originalHeight |
uint32_t | _shrinkThreshold |
uint32_t | _maxSize |
size_t | _rowBytes |
Definition at line 34 of file OOPixMapTextureLoader.h.
|
implementation |
Reimplemented from OOTextureLoader.
Definition at line 50 of file OOPixMapTextureLoader.m.
References _pixMap, dealloc, OOTextureLoader::dealloc, and OOFreePixMap().
Referenced by dealloc.
- (id) initWithPixMap: | (OOPixMap) | pixMap | |
textureOptions: | (uint32_t) | options | |
freeWhenDone: | (BOOL) | freeWhenDone |
Definition at line 34 of file OOPixMapTextureLoader.m.
References _pixMap, _texOptions, DESTROY, OOApplyTextureOptionDefaults(), OODuplicatePixMap(), and OOIsValidPixMap().
|
implementation |
Reimplemented from OOTextureLoader.
Definition at line 58 of file OOPixMapTextureLoader.m.
References OOTextureLoader::_data, OOTextureLoader::_format, OOTextureLoader::_height, _pixMap, OOTextureLoader::_rowBytes, _texOptions, OOTextureLoader::_width, kOOTextureMinFilterMask, kOOTextureMinFilterMipMap, loadTexture, OOExpandPixMap(), OOGenerateMipMaps(), and OOMinimumPixMapBufferSize().
Referenced by loadTexture.
|
implementation |
Reimplemented from OOTextureGenerator.
Definition at line 87 of file OOPixMapTextureLoader.m.
References _texOptions, and textureOptions.
Referenced by textureOptions.
|
private |
Definition at line 37 of file OOPixMapTextureLoader.h.
Referenced by dealloc, initWithPixMap:textureOptions:freeWhenDone:, and loadTexture.
|
private |
Definition at line 38 of file OOPixMapTextureLoader.h.
Referenced by initWithPixMap:textureOptions:freeWhenDone:, loadTexture, and textureOptions.