2010-09-21 21:46:53 +00:00
|
|
|
//
|
|
|
|
// EffectPass.m
|
|
|
|
// XNI
|
|
|
|
//
|
|
|
|
// Created by Matej Jan on 21.9.10.
|
|
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "EffectPass.h"
|
|
|
|
|
2010-09-30 19:00:06 +00:00
|
|
|
#import "Retronator.Xni.Framework.Graphics.h"
|
2010-09-21 21:46:53 +00:00
|
|
|
|
|
|
|
@implementation EffectPass
|
|
|
|
|
2010-09-30 19:00:06 +00:00
|
|
|
-(id) initWithName:(NSString *)theName graphicsDevice:(GraphicsDevice*)theGraphicsDevice {
|
2010-09-21 21:46:53 +00:00
|
|
|
if (self = [super init]) {
|
|
|
|
name = [theName retain];
|
2010-09-30 19:00:06 +00:00
|
|
|
graphicsDevice = [theGraphicsDevice retain];
|
2010-09-21 21:46:53 +00:00
|
|
|
}
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
@synthesize name;
|
|
|
|
|
|
|
|
- (void) apply {}
|
|
|
|
|
|
|
|
- (void) dealloc
|
|
|
|
{
|
|
|
|
[name release];
|
2010-09-30 19:00:06 +00:00
|
|
|
[graphicsDevice release];
|
2010-09-21 21:46:53 +00:00
|
|
|
[super dealloc];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@end
|