Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer This is a step towards fixing #56
This commit is contained in:
parent
bf64df4427
commit
411ee71b4d
297 changed files with 5445 additions and 5443 deletions
|
|
@ -1566,17 +1566,17 @@ Array VisualServer::mesh_surface_get_arrays(RID p_mesh,int p_surface) const {
|
|||
void VisualServer::_bind_methods() {
|
||||
|
||||
|
||||
ClassDB::bind_method(_MD("texture_create"),&VisualServer::texture_create);
|
||||
ClassDB::bind_method(_MD("texture_create_from_image"),&VisualServer::texture_create_from_image,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );
|
||||
//ClassDB::bind_method(_MD("texture_allocate"),&VisualServer::texture_allocate,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );
|
||||
//ClassDB::bind_method(_MD("texture_set_data"),&VisualServer::texture_blit_rect,DEFVAL( CUBEMAP_LEFT ) );
|
||||
//ClassDB::bind_method(_MD("texture_get_rect"),&VisualServer::texture_get_rect );
|
||||
ClassDB::bind_method(_MD("texture_set_flags"),&VisualServer::texture_set_flags );
|
||||
ClassDB::bind_method(_MD("texture_get_flags"),&VisualServer::texture_get_flags );
|
||||
ClassDB::bind_method(_MD("texture_get_width"),&VisualServer::texture_get_width );
|
||||
ClassDB::bind_method(_MD("texture_get_height"),&VisualServer::texture_get_height );
|
||||
ClassDB::bind_method(D_METHOD("texture_create"),&VisualServer::texture_create);
|
||||
ClassDB::bind_method(D_METHOD("texture_create_from_image"),&VisualServer::texture_create_from_image,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );
|
||||
//ClassDB::bind_method(D_METHOD("texture_allocate"),&VisualServer::texture_allocate,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );
|
||||
//ClassDB::bind_method(D_METHOD("texture_set_data"),&VisualServer::texture_blit_rect,DEFVAL( CUBEMAP_LEFT ) );
|
||||
//ClassDB::bind_method(D_METHOD("texture_get_rect"),&VisualServer::texture_get_rect );
|
||||
ClassDB::bind_method(D_METHOD("texture_set_flags"),&VisualServer::texture_set_flags );
|
||||
ClassDB::bind_method(D_METHOD("texture_get_flags"),&VisualServer::texture_get_flags );
|
||||
ClassDB::bind_method(D_METHOD("texture_get_width"),&VisualServer::texture_get_width );
|
||||
ClassDB::bind_method(D_METHOD("texture_get_height"),&VisualServer::texture_get_height );
|
||||
|
||||
ClassDB::bind_method(_MD("texture_set_shrink_all_x2_on_set_data","shrink"),&VisualServer::texture_set_shrink_all_x2_on_set_data );
|
||||
ClassDB::bind_method(D_METHOD("texture_set_shrink_all_x2_on_set_data","shrink"),&VisualServer::texture_set_shrink_all_x2_on_set_data );
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue