Maximum texture Size

Problems building or running the engine, queries about how to use features etc.
Post Reply
Kryx
Kobold
Posts: 31
Joined: Wed Apr 29, 2015 12:30 am

Maximum texture Size

Post by Kryx »

Hi,

I'm trying to get the maximum texture size available on the graphic card.
This is possible in DirectX or OpenGL, but is there a way to do this with Ogre?

Thanks,

Kryx
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1280
Contact:

Re: Maximum texture Size

Post by dark_sylinc »

I remember in Ogre 2.1 RenderSystemCapabilities added getMaximumResolution2D / getMaximumResolution3D / getMaximumResolutionCubemap
But I don't remember if they were ported back to 1.10 / 2.0
Kryx
Kobold
Posts: 31
Joined: Wed Apr 29, 2015 12:30 am

Re: Maximum texture Size

Post by Kryx »

Nice, thx!

The problem is that my project use Ogre 1.9 :/
But I will see if I can implement it by myself with the code of 2.0

Thanks for your help
Post Reply