1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
XNI/Classes/Retronator/Xni/Framework/Graphics/GraphicsDevice+Internal.h
Samo Pajk a2ab2a84e5 Changes:
- added render to texture features (RenderTarget2D)
- optimized SpriteFont for faster access and allocations
- fixed iOS6 bug witch prevented proper device orientation 
- fixed some problems when handling touch events

git-svn-id: http://xni.googlecode.com/svn/XNI@112 ac433895-eea3-a490-d80a-17149a75e588
2012-09-15 15:33:22 +00:00

31 lines
740 B
Objective-C

//
// GraphicsDevice+Internal.h
// XNI
//
// Created by Matej Jan on 29.11.10.
// Copyright 2010 Retronator. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GraphicsDevice.h"
@interface GraphicsDevice (Internal)
@property (nonatomic) BOOL rrt;
- (uint) createTexture;
- (void) releaseTexture:(uint)textureId;
//- (void) getData:(void*)data fromTexture2D:(Texture2D*)texture level:(int)level;
- (void) setData:(void*)data toTexture2D:(Texture2D*)texture SourceRectangle:(Rectangle*)rect level:(int)level;
- (uint) createBuffer;
- (void) setData:(void*)data toIndexBuffer:(IndexBuffer*)buffer;
- (void) setData:(void*)data toVertexBuffer:(VertexBuffer*)buffer;
// Profile specific
- (EAGLContext*) createContext;
@end