![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <OOConcreteTexture.h>
Instance Methods | |
(id) | - initWithLoader:key:options:anisotropy:lodBias: |
(id) | - initWithPath:key:options:anisotropy:lodBias: |
(void) | - dealloc [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(NSString *) | - shortDescriptionComponents [implementation] |
(NSString *) | - name [implementation] |
(void) | - apply [implementation] |
(void) | - ensureFinishedLoading [implementation] |
(BOOL) | - isFinishedLoading [implementation] |
(NSString *) | - cacheKey [implementation] |
(NSSize) | - dimensions [implementation] |
(NSSize) | - originalDimensions [implementation] |
(BOOL) | - isMipMapped [implementation] |
(struct OOPixMap) | - copyPixMapRepresentation [implementation] |
(BOOL) | - isRectangleTexture [implementation] |
(BOOL) | - isCubeMap [implementation] |
(NSSize) | - texCoordsScale [implementation] |
(GLint) | - glTextureName [implementation] |
(void) | - setUpTexture [implementation] |
(void) | - uploadTexture [implementation] |
(void) | - uploadTextureDataWithMipMap:format: [implementation] |
(GLenum) | - glTextureTarget [implementation] |
(BOOL) | - isReloadable [implementation] |
(void) | - forceRebind [implementation] |
![]() | |
(void) | - setTrace: |
(size_t) | - dataSize |
(id) | - init [implementation] |
(void) | - addToCaches [implementation] |
(void) | - removeFromCaches [implementation] |
(id) | - retainInContext: [implementation] |
(void) | - releaseInContext: [implementation] |
(id) | - autoreleaseInContext: [implementation] |
(id) | - retain [implementation] |
(oneway void) | - release [implementation] |
(id) | - autorelease [implementation] |
![]() | |
(id) | - weakSelf |
(id) | - weakRetain [implementation] |
(void) | - weakRefDied: [implementation] |
![]() | |
(id) | - OO_RETURNS_RETAINED |
Private Attributes | |
NSString * | _path |
NSString * | _key |
uint8_t | _loaded: 1 |
uint8_t | _uploaded: 1 |
uint8_t | _valid: 1 |
uint8_t | _mipLevels |
OOTextureLoader * | _loader |
void * | _bytes |
GLuint | _textureName |
uint32_t | _width |
uint32_t | _height |
uint32_t | _originalWidth |
uint32_t | _originalHeight |
OOTextureDataFormat | _format |
uint32_t | _options |
NSString * | _name |
Additional Inherited Members | |
![]() | |
(id) | + textureWithName:inFolder:options:anisotropy:lodBias: |
(id) | + textureWithName:inFolder: |
(id) | + textureWithConfiguration: |
(id) | + textureWithConfiguration:extraOptions: |
(id) | + nullTexture |
(id) | + textureWithGenerator: |
(id) | + textureWithGenerator:enqueue: |
(void) | + applyNone |
(void) | + clearCache |
(void) | + rebindAllTextures |
(NSArray *) | + cachedTexturesByAge |
(NSSet *) | + allTextures |
(OOTexture *) | + existingTextureForKey: [implementation] |
(void) | + checkExtensions [implementation] |
![]() | |
BOOL | _trace |
![]() | |
OOWeakReference * | weakSelf |
Definition at line 37 of file OOConcreteTexture.h.
|
implementation |
Reimplemented from OOTexture.
Definition at line 247 of file OOConcreteTexture.m.
References _loaded, _textureName, _uploaded, apply, EXPECT_NOT, glTextureTarget, gOOTextureInfo, OO_ENTER_OPENGL, OOGL, setUpTexture, and uploadTexture.
Referenced by apply.
|
implementation |
|
implementation |
Reimplemented from OOTexture.
Definition at line 303 of file OOConcreteTexture.m.
References _bytes, _format, _height, _options, _width, copyPixMapRepresentation, DecodeFormat(), ensureFinishedLoading, isCubeMap, kOONullPixMap, OO_ENTER_OPENGL, OOAllocatePixMap(), OODuplicatePixMap(), OOIsValidPixMap(), OOMakePixMap(), OOPixMapBytesPerPixelForFormat(), and OOPixMap::pixels.
Referenced by copyPixMapRepresentation.
|
implementation |
Reimplemented from OOTexture.
Definition at line 141 of file OOConcreteTexture.m.
References _bytes, _key, _loaded, _loader, _name, _path, _textureName, OOTexture::_trace, dealloc, OOTexture::dealloc, DESTROY, nil, OO_ENTER_OPENGL, OOGL, OOLog, and OOTexture::removeFromCaches.
Referenced by dealloc.
|
implementation |
Definition at line 179 of file OOConcreteTexture.m.
References _loaded, _valid, descriptionComponents, and nil.
Referenced by descriptionComponents.
|
implementation |
Reimplemented from OOTexture.
Definition at line 279 of file OOConcreteTexture.m.
References _height, _width, dimensions, and ensureFinishedLoading.
Referenced by dimensions.
|
implementation |
Reimplemented from OOTexture.
Definition at line 261 of file OOConcreteTexture.m.
References _loaded, ensureFinishedLoading, and setUpTexture.
Referenced by copyPixMapRepresentation, dimensions, ensureFinishedLoading, glTextureName, isMipMapped, originalDimensions, and texCoordsScale.
|
implementation |
Reimplemented from OOTexture.
Provided by category OOConcreteTexture(Private).
Definition at line 631 of file OOConcreteTexture.m.
|
implementation |
Reimplemented from OOTexture.
Definition at line 411 of file OOConcreteTexture.m.
References _textureName, ensureFinishedLoading, and glTextureName.
Referenced by glTextureName.
|
implementation |
Provided by category OOConcreteTexture(Private).
Definition at line 618 of file OOConcreteTexture.m.
Referenced by apply, and OOConcreteTexture(Private)::uploadTexture.
- (id) initWithLoader: | (OOTextureLoader *) | loader | |
key: | (NSString *) | key | |
options: | (uint32_t) | options | |
anisotropy: | (GLfloat) | anisotropy | |
lodBias: | (GLfloat) | lodBias |
Definition at line 77 of file OOConcreteTexture.m.
References _key, _loader, _name, _options, OOTexture::addToCaches, EXPECT_NOT, gOOTextureInfo, OOTexture::init, nil, and OOTexture::release.
- (id) initWithPath: | (NSString *) | path | |
key: | (NSString *) | key | |
options: | (uint32_t) | options | |
anisotropy: | (float) | anisotropy | |
lodBias: | (GLfloat) | lodBias |
Definition at line 117 of file OOConcreteTexture.m.
References _path, OOTextureLoader::loaderWithPath:options:, nil, and OOTexture::release.
|
implementation |
Reimplemented from OOTexture.
Definition at line 367 of file OOConcreteTexture.m.
References isCubeMap.
Referenced by copyPixMapRepresentation, and isCubeMap.
|
implementation |
Reimplemented from OOTexture.
Definition at line 267 of file OOConcreteTexture.m.
References _loaded, isFinishedLoading, and OOTextureLoader::isReady.
Referenced by isFinishedLoading.
|
implementation |
Reimplemented from OOTexture.
Definition at line 295 of file OOConcreteTexture.m.
References _mipLevels, ensureFinishedLoading, and isMipMapped.
Referenced by isMipMapped.
|
implementation |
Reimplemented from OOTexture.
Definition at line 357 of file OOConcreteTexture.m.
References isRectangleTexture.
Referenced by isRectangleTexture.
|
implementation |
Provided by category OOConcreteTexture(Private).
Definition at line 661 of file OOConcreteTexture.m.
|
implementation |
Reimplemented from OOTexture.
Definition at line 210 of file OOConcreteTexture.m.
References _name, _options, cacheKey, kOOTextureExtractChannelA, kOOTextureExtractChannelB, kOOTextureExtractChannelG, kOOTextureExtractChannelMask, kOOTextureExtractChannelR, name, and nil.
Referenced by name, and OOConcreteTexture(Private)::setUpTexture.
|
implementation |
Reimplemented from OOTexture.
Definition at line 287 of file OOConcreteTexture.m.
References _originalHeight, _originalWidth, ensureFinishedLoading, and originalDimensions.
Referenced by originalDimensions.
|
implementation |
Provided by category OOConcreteTexture(Private).
Definition at line 423 of file OOConcreteTexture.m.
Referenced by apply, and ensureFinishedLoading.
|
implementation |
Definition at line 203 of file OOConcreteTexture.m.
References _key, and shortDescriptionComponents.
Referenced by shortDescriptionComponents.
|
implementation |
Reimplemented from OOTexture.
Definition at line 377 of file OOConcreteTexture.m.
References _height, _loaded, _options, _width, ensureFinishedLoading, kOOTextureAllowRectTexture, and texCoordsScale.
Referenced by texCoordsScale.
|
implementation |
Provided by category OOConcreteTexture(Private).
Definition at line 466 of file OOConcreteTexture.m.
Referenced by apply, and OOConcreteTexture(Private)::setUpTexture.
|
implementation |
Provided by category OOConcreteTexture(Private).
Definition at line 553 of file OOConcreteTexture.m.
Referenced by OOConcreteTexture(Private)::uploadTexture.
|
private |
Definition at line 57 of file OOConcreteTexture.h.
Referenced by copyPixMapRepresentation, and dealloc.
|
private |
Definition at line 64 of file OOConcreteTexture.h.
Referenced by copyPixMapRepresentation.
|
private |
Definition at line 60 of file OOConcreteTexture.h.
Referenced by copyPixMapRepresentation, dimensions, and texCoordsScale.
|
private |
Definition at line 43 of file OOConcreteTexture.h.
Referenced by cacheKey, dealloc, initWithLoader:key:options:anisotropy:lodBias:, and shortDescriptionComponents.
|
private |
Definition at line 44 of file OOConcreteTexture.h.
Referenced by apply, dealloc, descriptionComponents, ensureFinishedLoading, isFinishedLoading, and texCoordsScale.
|
private |
Definition at line 55 of file OOConcreteTexture.h.
Referenced by dealloc, and initWithLoader:key:options:anisotropy:lodBias:.
|
private |
Definition at line 53 of file OOConcreteTexture.h.
Referenced by isMipMapped.
|
private |
Definition at line 74 of file OOConcreteTexture.h.
Referenced by dealloc, initWithLoader:key:options:anisotropy:lodBias:, and name.
|
private |
Definition at line 65 of file OOConcreteTexture.h.
Referenced by copyPixMapRepresentation, initWithLoader:key:options:anisotropy:lodBias:, name, and texCoordsScale.
|
private |
Definition at line 62 of file OOConcreteTexture.h.
Referenced by originalDimensions.
|
private |
Definition at line 61 of file OOConcreteTexture.h.
Referenced by originalDimensions.
|
private |
Definition at line 41 of file OOConcreteTexture.h.
Referenced by dealloc, and initWithPath:key:options:anisotropy:lodBias:.
|
private |
Definition at line 58 of file OOConcreteTexture.h.
Referenced by apply, dealloc, and glTextureName.
|
private |
Definition at line 45 of file OOConcreteTexture.h.
Referenced by apply.
|
private |
Definition at line 52 of file OOConcreteTexture.h.
Referenced by descriptionComponents.
|
private |
Definition at line 59 of file OOConcreteTexture.h.
Referenced by copyPixMapRepresentation, dimensions, and texCoordsScale.