Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
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 33 of file OOMaterial.m.

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

◆ unapplyWithNext:

- (void) unapplyWithNext: (OOMaterial *) next

Extends class OOMaterial.

Definition at line 33 of file OOMaterial.m.

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

◆ willDealloc

- (void) willDealloc

Extends class OOMaterial.

Definition at line 33 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

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