2010-09-01 14:55:24 +00:00
|
|
|
//
|
|
|
|
// Texture.h
|
|
|
|
// XNI
|
|
|
|
//
|
|
|
|
// Created by Matej Jan on 1.9.10.
|
|
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#import "GraphicsResource.h"
|
|
|
|
|
|
|
|
@interface Texture : GraphicsResource {
|
|
|
|
uint textureId;
|
|
|
|
SurfaceFormat format;
|
|
|
|
int levelCount;
|
|
|
|
}
|
|
|
|
|
2010-09-21 21:46:53 +00:00
|
|
|
- (id) initWithGraphicsDevice:(GraphicsDevice *)theGraphicsDevice surfaceFormat:(SurfaceFormat)theFormat levelCount:(int)theLevelCount;
|
2010-09-01 14:55:24 +00:00
|
|
|
|
|
|
|
@property (nonatomic, readonly) uint textureId;
|
|
|
|
@property (nonatomic) SurfaceFormat format;
|
|
|
|
@property (nonatomic) int levelCount;
|
|
|
|
|
|
|
|
@end
|