問題タブ [texture-atlas]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - libgdx の TextureAtlas と renderCalls
コードに示すように、2 つのテクスチャを作成し、同じ TextureAtlas に配置します。
そしてレンダリング時:
テクスチャは同じ TextureAtlas にあるため、batch.renderCalls が 1 に等しいと予想していましたが、代わりに 200 に等しいです。何が間違っていますか?
image - QML の画像アトラス
次のような画像があります: http://www.imagemagick.org/Usage/basics/result.gif (これには 2 行の個別データが含まれています。上の行に 3 つの正方形の画像、下に別の正方形の画像と 2 つの「空の画像」があります)。 ' 四角)
それぞれサブイメージの 1 つを持つ 4 つのイメージ ボタンを取得できるように、リピーター内で使用したいと考えています。
QML に「テクスチャアトラス」モジュールはありますか?
http://doc.qt.io/qt-5/qml-qtquick-sprite.htmlしか見つかりませんでした。私のユースケースにより良いものがあることを願っています。