Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Instance Methods | Public Attributes | Protected Attributes | Properties | List of all members
T2DViewController Class Reference

`#import <T2DViewController.h>`

Inheritance diagram for T2DViewController:

## Instance Methods
(void) | - supportLandscape
(void) | - supportPortrait

## Public Attributes
bool | mOrientationLandscapeRightSupported
bool | mOrientationLandscapeLeftSupported
bool | mOrientationPortraitSupported
bool | mOrientationPortraitUpsideDownSupported

## Protected Attributes
GLint | backingWidth
GLint | backingHeight
GLuint | viewRenderbuffer
GLuint | viewFramebuffer
GLuint | depthRenderbuffer
GLuint | _vertexBuffer
GLuint | _indexBuffer
GLuint | _vertexArray
bool | isLayedOut

## Properties
EAGLContext * | context
NSURLConnection * | connection
NSMutableData * | connectionData

## Method Documentation

- (void) supportLandscape |  | (bool) | enable |

- (void) supportPortrait |  | (bool) | enable |

## Member Data Documentation

- (GLuint) _indexBuffer
| protected

- (GLuint) _vertexArray
| protected

- (GLuint) _vertexBuffer
| protected

- (GLint) backingHeight
| protected

- (GLint) backingWidth
| protected

- (GLuint) depthRenderbuffer
| protected

- (bool) isLayedOut
| protected

- (bool) mOrientationLandscapeLeftSupported

- (bool) mOrientationLandscapeRightSupported

- (bool) mOrientationPortraitSupported

- (bool) mOrientationPortraitUpsideDownSupported

- (GLuint) viewFramebuffer
| protected

- (GLuint) viewRenderbuffer
| protected

## Property Documentation

- (NSURLConnection *) connection
| read write nonatomic strong

- (NSMutableData *) connectionData
| read write nonatomic strong

- (EAGLContext*) context
| read write nonatomic strong

The documentation for this class was generated from the following files:

- platformiOS/T2DViewController.h
- platformiOS/T2DViewController.mm