1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
XNI/Classes/Retronator/Xni/Framework/GraphicsDeviceManager.h
Matej Jan 3194ca93e7 SpriteBatch implemented and fixed.
git-svn-id: http://xni.googlecode.com/svn/XNI@35 ac433895-eea3-a490-d80a-17149a75e588
2010-10-19 13:31:39 +00:00

50 lines
1.4 KiB
Objective-C

//
// GraphicsDeviceManager.h
// XNI
//
// Created by Matej Jan on 27.7.10.
// Copyright 2010 Retronator. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "System.h"
#import "IGraphicsDeviceManager.h"
#import "IGraphicsDeviceService.h"
#import "Retronator.Xni.Framework.classes.h"
#import "Retronator.Xni.Framework.Graphics.classes.h"
@interface GraphicsDeviceManager : NSObject <IGraphicsDeviceManager, IGraphicsDeviceService> {
GraphicsProfile graphicsProfile;
BOOL isFullScreen;
BOOL preferMultiSampling;
SurfaceFormat preferedSurfaceFormat;
int preferedBackBufferWidth;
int preferedBackBufferHeight;
DepthFormat preferedDepthStencilFormat;
DisplayOrientation supportedOrientations;
Game *game;
GraphicsDevice *graphicsDevice;
Event *deviceCreated;
Event *deviceDisposing;
Event *deviceResetting;
Event *deviceReset;
}
- (id) initWithGame:(Game*)theGame;
@property (nonatomic) GraphicsProfile graphicsProfile;
@property (nonatomic) BOOL isFullScreen;
@property (nonatomic) BOOL preferMultiSampling;
@property (nonatomic) SurfaceFormat preferedSurfaceFormat;
@property (nonatomic) int preferedBackBufferWidth;
@property (nonatomic) int preferedBackBufferHeight;
@property (nonatomic) DepthFormat preferedDepthStencilFormat;
@property (nonatomic) DisplayOrientation supportedOrientations;
- (void) toggleFullscreen;
- (void) applyChanges;
@end