mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
- 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
26 lines
748 B
Objective-C
26 lines
748 B
Objective-C
//
|
|
// RenderTarget2D.h
|
|
// XNI
|
|
//
|
|
// Created by Samo Pajk on 9/3/12.
|
|
// Copyright (c) 2012 Samo Pajk. All rights reserved.
|
|
//
|
|
|
|
#import "Texture2D.h"
|
|
|
|
@interface RenderTarget2D : Texture2D
|
|
|
|
@property (nonatomic, readonly) BOOL isContentLost;
|
|
@property (nonatomic, readonly) RenderTargetUsage renderTargetUsage;
|
|
|
|
- (id)initWithGraphicsDevice:(GraphicsDevice *)theGraphicsDevice
|
|
width:(int)theWidth
|
|
height:(int)theHeight
|
|
mipmap:(BOOL)theMipmap
|
|
surfaceFormat:(SurfaceFormat)theSurfaceFormat
|
|
depthFormat:(DepthFormat)theDepthFormat
|
|
multiSampleCount:(int) theMultisampleCount
|
|
usage:(RenderTargetUsage)theUsage;
|
|
|
|
@end
|