Determining max cube map size

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Determining max cube map size

      Hi all,

      I'm trying to works out the max. size of a cube map at runtime.
      In OpenGL I can use: glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, ...).

      What's the D3D9 equivalent?

      The D3DCAPS9 structure doesn't have a "maxCubeMapTextureSize" sort of member the last time I checked. Can I just use "MaxTextureWidth" and "MaxTextureHeight"?

      BTW. This is the same post I made in the Gamedev.net forums. I didn't get many replies there.

      Thanks