mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
35 lines
514 B
Objective-C
35 lines
514 B
Objective-C
//
|
|
// 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;
|
|
|
|
- (void) dealloc
|
|
{
|
|
[name release];
|
|
[tag release];
|
|
[super dealloc];
|
|
}
|
|
|
|
|
|
@end
|