Added commentaries to all new initialize methods.
Also moved the commentaries in SFML::Window from the Window_New function to Window_Initialize. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1746 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
aa39447c26
commit
0aafc6b6ba
7 changed files with 60 additions and 13 deletions
|
@ -215,7 +215,14 @@ static VALUE Shader_Unbind( VALUE self )
|
|||
return Qnil;
|
||||
}
|
||||
|
||||
|
||||
/* call-seq:
|
||||
* Shader.new() -> shader
|
||||
* Shader.new( filename ) -> shader
|
||||
*
|
||||
* Will create a new shader instance.
|
||||
*
|
||||
* If a filename argument is specified then shader#loadFromFile will be called on the created instance.
|
||||
*/
|
||||
static VALUE Shader_Initialize( int argc, VALUE *args, VALUE self )
|
||||
{
|
||||
if( argc > 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue