Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Comment function/method call members
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Vertexwahn
Senior Member

35 Posts

Posted - Sep 04 2011 :  5:12:07 PM  Show Profile  Reply with Quote
assume the following code:


glTexImage2D(
	GL_TEXTURE_2D,				
	0,						
	GL_RGBA,				
	rtd.width_,					
	rtd.height_,				
	GL_COLOR_ATTACHMENT0+i,		
	GL_DEPTH_COMPONENT,		
	GL_FLOAT,					
	nullptr);


It would be nice if there would be a feature that documents the call parameters like this:


glTexImage2D(
	GL_TEXTURE_2D,		// target
	0,			// level
	GL_RGBA,		// internalFormat
	rtd.width_,		// width
	rtd.height_,		// height
	GL_COLOR_ATTACHMENT0+i,	// border
	GL_DEPTH_COMPONENT,	// format
	GL_FLOAT,		// type
	nullptr);		// data


the comments are just taken from the declaration of the glTexImage2D function:


glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);

JohnWest
New Member

USA
3 Posts

Posted - Sep 04 2011 :  8:03:42 PM  Show Profile  Reply with Quote
Something along those lines would be great.
$NOTE: I'm sitll extremely jazzed about the new extend multiline comments functionality. That one is awesome!!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 05 2011 :  1:24:16 PM  Show Profile  Reply with Quote
Are you aware of the parameter info tooltips:

http://www.wholetomato.com/products/features/parameter.asp

You can trigger these with the keyboard shortcut CTRL+SHIFT+SPACE. The current parameter is shown in bold, so you can see which each parameter is when editing and viewing the code.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000