Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOMaterial(OOSubclassInterface) Category Reference

#include <OOMaterial.h>

Instance Methods

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

Detailed Description

Definition at line 86 of file OOMaterial.h.

Method Documentation

◆ doApply

- (BOOL) doApply

Extends class OOMaterial.

Definition at line 138 of file OOMaterial.m.

139{
141 return NO;
142}
#define OOLogGenericSubclassResponsibility()
Definition OOLogging.h:129

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 145 of file OOMaterial.m.

145 :(OOMaterial *)next
146{
147 // Do nothing.
148}

◆ willDealloc

- (void) willDealloc

Extends class OOMaterial.

Definition at line 151 of file OOMaterial.m.

152{
153 if (EXPECT_NOT(sActiveMaterial == self))
154 {
155 OOLog(@"shader.dealloc.imbalance", @"%@", @"***** Material deallocated while active, indicating a retain/release imbalance.");
156 [self unapplyWithNext:nil];
158 }
159}
#define EXPECT_NOT(x)
#define OOLog(class, format,...)
Definition OOLogging.h:88
static OOMaterial * sActiveMaterial
Definition OOMaterial.m:33
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: