Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Comment function/method call members

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Vertexwahn Posted - Sep 04 2011 : 5:12:07 PM
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);
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 05 2011 : 1:24:16 PM
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.
JohnWest Posted - Sep 04 2011 : 8:03:42 PM
Something along those lines would be great.
$NOTE: I'm sitll extremely jazzed about the new extend multiline comments functionality. That one is awesome!!

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000