|
198 | 198 | <description> |
199 | 199 | Creates a new compute pipeline. It can be accessed with the RID that is returned. |
200 | 200 | Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 201 | + This will be freed automatically when the [param shader] is freed. |
201 | 202 | </description> |
202 | 203 | </method> |
203 | 204 | <method name="compute_pipeline_is_valid"> |
|
416 | 417 | <description> |
417 | 418 | Creates a new framebuffer. It can be accessed with the RID that is returned. |
418 | 419 | Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 420 | + This will be freed automatically when any of the [param textures] is freed. |
419 | 421 | </description> |
420 | 422 | </method> |
421 | 423 | <method name="framebuffer_create_empty"> |
|
437 | 439 | <description> |
438 | 440 | Creates a new multipass framebuffer. It can be accessed with the RID that is returned. |
439 | 441 | Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 442 | + This will be freed automatically when any of the [param textures] is freed. |
440 | 443 | </description> |
441 | 444 | </method> |
442 | 445 | <method name="framebuffer_format_create"> |
|
695 | 698 | <description> |
696 | 699 | Creates a new index array. It can be accessed with the RID that is returned. |
697 | 700 | Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 701 | + This will be freed automatically when the [param index_buffer] is freed. |
698 | 702 | </description> |
699 | 703 | </method> |
700 | 704 | <method name="index_buffer_create"> |
|
733 | 737 | <description> |
734 | 738 | Creates a new render pipeline. It can be accessed with the RID that is returned. |
735 | 739 | Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 740 | + This will be freed automatically when the [param shader] is freed. |
736 | 741 | </description> |
737 | 742 | </method> |
738 | 743 | <method name="render_pipeline_is_valid"> |
|
944 | 949 | <param index="1" name="with_texture" type="RID" /> |
945 | 950 | <description> |
946 | 951 | Creates a shared texture using the specified [param view] and the texture information from [param with_texture]. |
| 952 | + This will be freed automatically when the [param with_texture] is freed. |
947 | 953 | </description> |
948 | 954 | </method> |
949 | 955 | <method name="texture_create_shared_from_slice"> |
|
958 | 964 | Creates a shared texture using the specified [param view] and the texture information from [param with_texture]'s [param layer] and [param mipmap]. The number of included mipmaps from the original texture can be controlled using the [param mipmaps] parameter. Only relevant for textures with multiple layers, such as 3D textures, texture arrays and cubemaps. For single-layer textures, use [method texture_create_shared]. |
959 | 965 | For 2D textures (which only have one layer), [param layer] must be [code]0[/code]. |
960 | 966 | [b]Note:[/b] Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps. |
| 967 | + This will be freed automatically when the [param with_texture] is freed. |
961 | 968 | </description> |
962 | 969 | </method> |
963 | 970 | <method name="texture_get_data"> |
|
1089 | 1096 | <description> |
1090 | 1097 | Creates a new uniform set. It can be accessed with the RID that is returned. |
1091 | 1098 | Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 1099 | + This will be freed automatically when the [param shader] or any of the RIDs in the [param uniforms] is freed. |
1092 | 1100 | </description> |
1093 | 1101 | </method> |
1094 | 1102 | <method name="uniform_set_is_valid"> |
|
1106 | 1114 | <param index="3" name="offsets" type="PackedInt64Array" default="PackedInt64Array()" /> |
1107 | 1115 | <description> |
1108 | 1116 | Creates a vertex array based on the specified buffers. Optionally, [param offsets] (in bytes) may be defined for each buffer. |
| 1117 | + Once finished with your RID, you will want to free the RID using the RenderingDevice's [method free_rid] method. |
| 1118 | + This will be freed automatically when any of the [param src_buffers] is freed. |
1109 | 1119 | </description> |
1110 | 1120 | </method> |
1111 | 1121 | <method name="vertex_buffer_create"> |
|
0 commit comments