Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
生の画像データは GLKTextureInfo または関連オブジェクトで利用できますか?
そのような生データの画像バッファに基づいて GLKit でテクスチャを作成することは可能ですか? 非 ES OpenGL のように、glTexImage2D() を使用しますか?
そうする必要はありません。 GLKTextureLoader's目的は、さまざまな画像ファイル形式からテクスチャを作成する際のボイラープレートを削除することです。デコードされた生のバイナリ データが既にある場合は、通常どおりglGenTextures/glTexImage2Dを呼び出すだけで済みます。GLKit が実際にできることは何もありません。
GLKTextureLoader's
glGenTextures
glTexImage2D