2010-09-01 14:55:24 +00:00
|
|
|
//
|
|
|
|
// GraphicsResource.m
|
|
|
|
// XNI
|
|
|
|
//
|
|
|
|
// Created by Matej Jan on 1.9.10.
|
|
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "GraphicsResource.h"
|
|
|
|
|
|
|
|
|
|
|
|
@implementation GraphicsResource
|
|
|
|
|
|
|
|
- (id) initWithGraphicsDevice:(GraphicsDevice*)theGraphicsDevice {
|
|
|
|
if (self = [super init]) {
|
|
|
|
graphicsDevice = theGraphicsDevice;
|
|
|
|
}
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
@synthesize graphicsDevice;
|
|
|
|
@synthesize isDisposed;
|
|
|
|
@synthesize name;
|
|
|
|
@synthesize tag;
|
|
|
|
|
2010-12-08 04:57:47 +00:00
|
|
|
- (void) dealloc
|
|
|
|
{
|
|
|
|
[name release];
|
|
|
|
[tag release];
|
|
|
|
[super dealloc];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-01 14:55:24 +00:00
|
|
|
@end
|