Viewer = megGetViewer(); if Viewer:isShaderProfileSupported("ps_2_0") then --シェーダーモデル2 else --シェーダーモデル2じゃない end