Oolite
Loading...
Searching...
No Matches
OOMaterial(OOSubclassInterface) Category Reference

#include <OOMaterial.h>

Instance Methods

(BOOL) - doApply
(void) - unapplyWithNext:
(void) - willDealloc

Detailed Description

Definition at line 83 of file OOMaterial.h.

Method Documentation

◆ doApply

- (BOOL) doApply

Extends class OOMaterial.

Definition at line 120 of file OOMaterial.m.

121{
123 return NO;
124}
#define OOLogGenericSubclassResponsibility()
Definition OOLogging.h:141

References doApply, and OOLogGenericSubclassResponsibility.

Referenced by doApply.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unapplyWithNext:

- (void) unapplyWithNext: (OOMaterial*) next

Extends class OOMaterial.

Definition at line 126 of file OOMaterial.m.

126 :(OOMaterial*)next
127{
128 // Do nothing.
129}

◆ willDealloc

- (void) willDealloc

Extends class OOMaterial.

Definition at line 131 of file OOMaterial.m.

132{
133 if (EXPECT_NOT(sActiveMaterial == self)) {
134 OOLog(@"shader.dealloc.imbalance", @"%@", @"***** Material deallocated while active, indicating a retain/release imbalance.");
135 [self unapplyWithNext:nil];
137 }
138}
#define EXPECT_NOT(x)
#define OOLog(class, format,...)
Definition OOLogging.h:84
static OOMaterial * sActiveMaterial
Definition OOMaterial.m:32
return nil

References EXPECT_NOT, nil, OOLog, sActiveMaterial, OOMaterial::unapplyWithNext:, and willDealloc.

Referenced by willDealloc.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this category was generated from the following files: