mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
27 lines
665 B
Objective-C
27 lines
665 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)
|
|
|
|
- (uint) createTexture;
|
|
//- (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
|