|
|
Log In | Not a Member? |
Contact ADC |
| < Previous PageNext Page > |
QCRendererオブジェクトには、OpenGLコンテキスト、OpenGLピクセル形式、およびファイルパス名が必要です。何らかの理由でレンダラを作成できない場合、アプリケーションを終了する必要があります。次のコードを使用してレンダラの作成と作成確認を行います。
_renderer = [[QCRenderer alloc] |
initWithOpenGLContext:_openGLContext |
pixelFormat:format |
file:_filePath]; |
if(_renderer == nil) |
{ |
NSLog(@"Cannot create QCRenderer"); |
[NSApp terminate:nil]; |
} |
| < Previous PageNext Page > |
Last updated: 2006-12-05
|
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |