mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
27 lines
486 B
Objective-C
27 lines
486 B
Objective-C
//
|
|
// Texture.m
|
|
// XNI
|
|
//
|
|
// Created by Matej Jan on 1.9.10.
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
//
|
|
|
|
#import "Texture.h"
|
|
|
|
|
|
@implementation Texture
|
|
|
|
- (id) initWithGraphicsDevice:(GraphicsDevice *)theGraphicsDevice SurfaceFormat:(SurfaceFormat)theFormat LevelCount:(int)theLevelCount {
|
|
if (self = [super initWithGraphicsDevice:theGraphicsDevice]) {
|
|
format = theFormat;
|
|
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@synthesize textureId;
|
|
@synthesize format;
|
|
@synthesize levelCount;
|
|
|
|
@end
|