Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #445: SetInternalShaderVersion () has no return value
Product:
TV3D SDK 6.5
Language:
Not Specified
Current State:
Closed
Resolution:
Fixed
Created On:
July 1st, 2005
Last Modified:
April 10th, 2006
Reported By:
Hypnotron
PROBLEM:
1) Call to TVEngine.SetInternalShaderVersion does not return a value

2) debug log doesnt indicate if call failed. My video card is only vertex shader 2.0 capable but trying to set it to 3.0 silently fails

EXPECTED:
1) TVEngine.SetInternalShaderVersion() should return true/false indicating success or failure

2) New function TVEngine.GetInternalShaderVersion() as MTV3D65.CONST_TV_SHADERMODEL should be added so that users can check which shader version tv3d is currently using.

Comments:

Posted by Hypnotron on July 1st, 2005 at 8:41 PM
Actually, rather than true/false perhaps it should return the shadermodel constant that got set ? This way if they pass in "BEST" it will return which one it got set too?

Still should also have .Get function also.
Posted by SylvainTV on July 7th, 2005 at 3:31 PM
Actually the function should be called

SetInternalMaxShaderModel() because it really defines the version the engine should try first, then fallback on older models.

However the idea of Get* is good.
Posted by SylvainTV on April 10th, 2006 at 12:28 AM
added :p