summaryrefslogtreecommitdiff
path: root/doc/classes/RenderingDevice.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/RenderingDevice.xml')
-rw-r--r--doc/classes/RenderingDevice.xml398
1 files changed, 202 insertions, 196 deletions
diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml
index 6248394b1a..2f0b9dae72 100644
--- a/doc/classes/RenderingDevice.xml
+++ b/doc/classes/RenderingDevice.xml
@@ -9,102 +9,102 @@
<methods>
<method name="barrier">
<return type="void" />
- <argument index="0" name="from" type="int" default="7" />
- <argument index="1" name="to" type="int" default="7" />
+ <param index="0" name="from" type="int" default="7" />
+ <param index="1" name="to" type="int" default="7" />
<description>
</description>
</method>
<method name="buffer_clear">
<return type="int" enum="Error" />
- <argument index="0" name="buffer" type="RID" />
- <argument index="1" name="offset" type="int" />
- <argument index="2" name="size_bytes" type="int" />
- <argument index="3" name="post_barrier" type="int" default="7" />
+ <param index="0" name="buffer" type="RID" />
+ <param index="1" name="offset" type="int" />
+ <param index="2" name="size_bytes" type="int" />
+ <param index="3" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="buffer_get_data">
<return type="PackedByteArray" />
- <argument index="0" name="buffer" type="RID" />
+ <param index="0" name="buffer" type="RID" />
<description>
</description>
</method>
<method name="buffer_update">
<return type="int" enum="Error" />
- <argument index="0" name="buffer" type="RID" />
- <argument index="1" name="offset" type="int" />
- <argument index="2" name="size_bytes" type="int" />
- <argument index="3" name="data" type="PackedByteArray" />
- <argument index="4" name="post_barrier" type="int" default="7" />
+ <param index="0" name="buffer" type="RID" />
+ <param index="1" name="offset" type="int" />
+ <param index="2" name="size_bytes" type="int" />
+ <param index="3" name="data" type="PackedByteArray" />
+ <param index="4" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="capture_timestamp">
<return type="void" />
- <argument index="0" name="name" type="String" />
+ <param index="0" name="name" type="String" />
<description>
</description>
</method>
<method name="compute_list_add_barrier">
<return type="void" />
- <argument index="0" name="compute_list" type="int" />
+ <param index="0" name="compute_list" type="int" />
<description>
</description>
</method>
<method name="compute_list_begin">
<return type="int" />
- <argument index="0" name="allow_draw_overlap" type="bool" default="false" />
+ <param index="0" name="allow_draw_overlap" type="bool" default="false" />
<description>
</description>
</method>
<method name="compute_list_bind_compute_pipeline">
<return type="void" />
- <argument index="0" name="compute_list" type="int" />
- <argument index="1" name="compute_pipeline" type="RID" />
+ <param index="0" name="compute_list" type="int" />
+ <param index="1" name="compute_pipeline" type="RID" />
<description>
</description>
</method>
<method name="compute_list_bind_uniform_set">
<return type="void" />
- <argument index="0" name="compute_list" type="int" />
- <argument index="1" name="uniform_set" type="RID" />
- <argument index="2" name="set_index" type="int" />
+ <param index="0" name="compute_list" type="int" />
+ <param index="1" name="uniform_set" type="RID" />
+ <param index="2" name="set_index" type="int" />
<description>
</description>
</method>
<method name="compute_list_dispatch">
<return type="void" />
- <argument index="0" name="compute_list" type="int" />
- <argument index="1" name="x_groups" type="int" />
- <argument index="2" name="y_groups" type="int" />
- <argument index="3" name="z_groups" type="int" />
+ <param index="0" name="compute_list" type="int" />
+ <param index="1" name="x_groups" type="int" />
+ <param index="2" name="y_groups" type="int" />
+ <param index="3" name="z_groups" type="int" />
<description>
</description>
</method>
<method name="compute_list_end">
<return type="void" />
- <argument index="0" name="post_barrier" type="int" default="7" />
+ <param index="0" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="compute_list_set_push_constant">
<return type="void" />
- <argument index="0" name="compute_list" type="int" />
- <argument index="1" name="buffer" type="PackedByteArray" />
- <argument index="2" name="size_bytes" type="int" />
+ <param index="0" name="compute_list" type="int" />
+ <param index="1" name="buffer" type="PackedByteArray" />
+ <param index="2" name="size_bytes" type="int" />
<description>
</description>
</method>
<method name="compute_pipeline_create">
<return type="RID" />
- <argument index="0" name="shader" type="RID" />
- <argument index="1" name="specialization_constants" type="RDPipelineSpecializationConstant[]" default="[]" />
+ <param index="0" name="shader" type="RID" />
+ <param index="1" name="specialization_constants" type="RDPipelineSpecializationConstant[]" default="[]" />
<description>
</description>
</method>
<method name="compute_pipeline_is_valid">
<return type="bool" />
- <argument index="0" name="compute_pieline" type="RID" />
+ <param index="0" name="compute_pieline" type="RID" />
<description>
</description>
</method>
@@ -115,8 +115,8 @@
</method>
<method name="draw_command_begin_label">
<return type="void" />
- <argument index="0" name="name" type="String" />
- <argument index="1" name="color" type="Color" />
+ <param index="0" name="name" type="String" />
+ <param index="1" name="color" type="Color" />
<description>
</description>
</method>
@@ -127,111 +127,111 @@
</method>
<method name="draw_command_insert_label">
<return type="void" />
- <argument index="0" name="name" type="String" />
- <argument index="1" name="color" type="Color" />
+ <param index="0" name="name" type="String" />
+ <param index="1" name="color" type="Color" />
<description>
</description>
</method>
<method name="draw_list_begin">
<return type="int" />
- <argument index="0" name="framebuffer" type="RID" />
- <argument index="1" name="initial_color_action" type="int" enum="RenderingDevice.InitialAction" />
- <argument index="2" name="final_color_action" type="int" enum="RenderingDevice.FinalAction" />
- <argument index="3" name="initial_depth_action" type="int" enum="RenderingDevice.InitialAction" />
- <argument index="4" name="final_depth_action" type="int" enum="RenderingDevice.FinalAction" />
- <argument index="5" name="clear_color_values" type="PackedColorArray" default="PackedColorArray()" />
- <argument index="6" name="clear_depth" type="float" default="1.0" />
- <argument index="7" name="clear_stencil" type="int" default="0" />
- <argument index="8" name="region" type="Rect2" default="Rect2(0, 0, 0, 0)" />
- <argument index="9" name="storage_textures" type="Array" default="[]" />
+ <param index="0" name="framebuffer" type="RID" />
+ <param index="1" name="initial_color_action" type="int" enum="RenderingDevice.InitialAction" />
+ <param index="2" name="final_color_action" type="int" enum="RenderingDevice.FinalAction" />
+ <param index="3" name="initial_depth_action" type="int" enum="RenderingDevice.InitialAction" />
+ <param index="4" name="final_depth_action" type="int" enum="RenderingDevice.FinalAction" />
+ <param index="5" name="clear_color_values" type="PackedColorArray" default="PackedColorArray()" />
+ <param index="6" name="clear_depth" type="float" default="1.0" />
+ <param index="7" name="clear_stencil" type="int" default="0" />
+ <param index="8" name="region" type="Rect2" default="Rect2(0, 0, 0, 0)" />
+ <param index="9" name="storage_textures" type="Array" default="[]" />
<description>
</description>
</method>
<method name="draw_list_begin_for_screen">
<return type="int" />
- <argument index="0" name="screen" type="int" default="0" />
- <argument index="1" name="clear_color" type="Color" default="Color(0, 0, 0, 1)" />
+ <param index="0" name="screen" type="int" default="0" />
+ <param index="1" name="clear_color" type="Color" default="Color(0, 0, 0, 1)" />
<description>
</description>
</method>
<method name="draw_list_begin_split">
<return type="PackedInt64Array" />
- <argument index="0" name="framebuffer" type="RID" />
- <argument index="1" name="splits" type="int" />
- <argument index="2" name="initial_color_action" type="int" enum="RenderingDevice.InitialAction" />
- <argument index="3" name="final_color_action" type="int" enum="RenderingDevice.FinalAction" />
- <argument index="4" name="initial_depth_action" type="int" enum="RenderingDevice.InitialAction" />
- <argument index="5" name="final_depth_action" type="int" enum="RenderingDevice.FinalAction" />
- <argument index="6" name="clear_color_values" type="PackedColorArray" default="PackedColorArray()" />
- <argument index="7" name="clear_depth" type="float" default="1.0" />
- <argument index="8" name="clear_stencil" type="int" default="0" />
- <argument index="9" name="region" type="Rect2" default="Rect2(0, 0, 0, 0)" />
- <argument index="10" name="storage_textures" type="RID[]" default="[]" />
+ <param index="0" name="framebuffer" type="RID" />
+ <param index="1" name="splits" type="int" />
+ <param index="2" name="initial_color_action" type="int" enum="RenderingDevice.InitialAction" />
+ <param index="3" name="final_color_action" type="int" enum="RenderingDevice.FinalAction" />
+ <param index="4" name="initial_depth_action" type="int" enum="RenderingDevice.InitialAction" />
+ <param index="5" name="final_depth_action" type="int" enum="RenderingDevice.FinalAction" />
+ <param index="6" name="clear_color_values" type="PackedColorArray" default="PackedColorArray()" />
+ <param index="7" name="clear_depth" type="float" default="1.0" />
+ <param index="8" name="clear_stencil" type="int" default="0" />
+ <param index="9" name="region" type="Rect2" default="Rect2(0, 0, 0, 0)" />
+ <param index="10" name="storage_textures" type="RID[]" default="[]" />
<description>
</description>
</method>
<method name="draw_list_bind_index_array">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="index_array" type="RID" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="index_array" type="RID" />
<description>
</description>
</method>
<method name="draw_list_bind_render_pipeline">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="render_pipeline" type="RID" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="render_pipeline" type="RID" />
<description>
</description>
</method>
<method name="draw_list_bind_uniform_set">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="uniform_set" type="RID" />
- <argument index="2" name="set_index" type="int" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="uniform_set" type="RID" />
+ <param index="2" name="set_index" type="int" />
<description>
</description>
</method>
<method name="draw_list_bind_vertex_array">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="vertex_array" type="RID" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="vertex_array" type="RID" />
<description>
</description>
</method>
<method name="draw_list_disable_scissor">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
+ <param index="0" name="draw_list" type="int" />
<description>
</description>
</method>
<method name="draw_list_draw">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="use_indices" type="bool" />
- <argument index="2" name="instances" type="int" />
- <argument index="3" name="procedural_vertex_count" type="int" default="0" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="use_indices" type="bool" />
+ <param index="2" name="instances" type="int" />
+ <param index="3" name="procedural_vertex_count" type="int" default="0" />
<description>
</description>
</method>
<method name="draw_list_enable_scissor">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="rect" type="Rect2" default="Rect2(0, 0, 0, 0)" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="rect" type="Rect2" default="Rect2(0, 0, 0, 0)" />
<description>
</description>
</method>
<method name="draw_list_end">
<return type="void" />
- <argument index="0" name="post_barrier" type="int" default="7" />
+ <param index="0" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="draw_list_set_push_constant">
<return type="void" />
- <argument index="0" name="draw_list" type="int" />
- <argument index="1" name="buffer" type="PackedByteArray" />
- <argument index="2" name="size_bytes" type="int" />
+ <param index="0" name="draw_list" type="int" />
+ <param index="1" name="buffer" type="PackedByteArray" />
+ <param index="2" name="size_bytes" type="int" />
<description>
</description>
</method>
@@ -242,72 +242,78 @@
</method>
<method name="draw_list_switch_to_next_pass_split">
<return type="PackedInt64Array" />
- <argument index="0" name="splits" type="int" />
+ <param index="0" name="splits" type="int" />
<description>
</description>
</method>
<method name="framebuffer_create">
<return type="RID" />
- <argument index="0" name="textures" type="RID[]" />
- <argument index="1" name="validate_with_format" type="int" default="-1" />
- <argument index="2" name="view_count" type="int" default="1" />
+ <param index="0" name="textures" type="RID[]" />
+ <param index="1" name="validate_with_format" type="int" default="-1" />
+ <param index="2" name="view_count" type="int" default="1" />
<description>
</description>
</method>
<method name="framebuffer_create_empty">
<return type="RID" />
- <argument index="0" name="size" type="Vector2i" />
- <argument index="1" name="samples" type="int" enum="RenderingDevice.TextureSamples" default="0" />
- <argument index="2" name="validate_with_format" type="int" default="-1" />
+ <param index="0" name="size" type="Vector2i" />
+ <param index="1" name="samples" type="int" enum="RenderingDevice.TextureSamples" default="0" />
+ <param index="2" name="validate_with_format" type="int" default="-1" />
<description>
</description>
</method>
<method name="framebuffer_create_multipass">
<return type="RID" />
- <argument index="0" name="textures" type="RID[]" />
- <argument index="1" name="passes" type="RDFramebufferPass[]" />
- <argument index="2" name="validate_with_format" type="int" default="-1" />
- <argument index="3" name="view_count" type="int" default="1" />
+ <param index="0" name="textures" type="RID[]" />
+ <param index="1" name="passes" type="RDFramebufferPass[]" />
+ <param index="2" name="validate_with_format" type="int" default="-1" />
+ <param index="3" name="view_count" type="int" default="1" />
<description>
</description>
</method>
<method name="framebuffer_format_create">
<return type="int" />
- <argument index="0" name="attachments" type="RDAttachmentFormat[]" />
- <argument index="1" name="view_count" type="int" default="1" />
+ <param index="0" name="attachments" type="RDAttachmentFormat[]" />
+ <param index="1" name="view_count" type="int" default="1" />
<description>
</description>
</method>
<method name="framebuffer_format_create_empty">
<return type="int" />
- <argument index="0" name="samples" type="int" enum="RenderingDevice.TextureSamples" default="0" />
+ <param index="0" name="samples" type="int" enum="RenderingDevice.TextureSamples" default="0" />
<description>
</description>
</method>
<method name="framebuffer_format_create_multipass">
<return type="int" />
- <argument index="0" name="attachments" type="RDAttachmentFormat[]" />
- <argument index="1" name="passes" type="RDFramebufferPass[]" />
- <argument index="2" name="view_count" type="int" default="1" />
+ <param index="0" name="attachments" type="RDAttachmentFormat[]" />
+ <param index="1" name="passes" type="RDFramebufferPass[]" />
+ <param index="2" name="view_count" type="int" default="1" />
<description>
</description>
</method>
<method name="framebuffer_format_get_texture_samples">
<return type="int" enum="RenderingDevice.TextureSamples" />
- <argument index="0" name="format" type="int" />
- <argument index="1" name="render_pass" type="int" default="0" />
+ <param index="0" name="format" type="int" />
+ <param index="1" name="render_pass" type="int" default="0" />
<description>
</description>
</method>
<method name="framebuffer_get_format">
<return type="int" />
- <argument index="0" name="framebuffer" type="RID" />
+ <param index="0" name="framebuffer" type="RID" />
+ <description>
+ </description>
+ </method>
+ <method name="framebuffer_is_valid" qualifiers="const">
+ <return type="bool" />
+ <param index="0" name="framebuffer" type="RID" />
<description>
</description>
</method>
<method name="free_rid">
<return type="void" />
- <argument index="0" name="rid" type="RID" />
+ <param index="0" name="rid" type="RID" />
<description>
</description>
</method>
@@ -318,19 +324,19 @@
</method>
<method name="get_captured_timestamp_cpu_time" qualifiers="const">
<return type="int" />
- <argument index="0" name="index" type="int" />
+ <param index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_captured_timestamp_gpu_time" qualifiers="const">
<return type="int" />
- <argument index="0" name="index" type="int" />
+ <param index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_captured_timestamp_name" qualifiers="const">
<return type="String" />
- <argument index="0" name="index" type="int" />
+ <param index="0" name="index" type="int" />
<description>
</description>
</method>
@@ -361,9 +367,9 @@
</method>
<method name="get_driver_resource">
<return type="int" />
- <argument index="0" name="resource" type="int" enum="RenderingDevice.DriverResource" />
- <argument index="1" name="rid" type="RID" />
- <argument index="2" name="index" type="int" />
+ <param index="0" name="resource" type="int" enum="RenderingDevice.DriverResource" />
+ <param index="1" name="rid" type="RID" />
+ <param index="2" name="index" type="int" />
<description>
</description>
</method>
@@ -374,58 +380,58 @@
</method>
<method name="get_memory_usage" qualifiers="const">
<return type="int" />
- <argument index="0" name="type" type="int" enum="RenderingDevice.MemoryType" />
+ <param index="0" name="type" type="int" enum="RenderingDevice.MemoryType" />
<description>
</description>
</method>
<method name="index_array_create">
<return type="RID" />
- <argument index="0" name="index_buffer" type="RID" />
- <argument index="1" name="index_offset" type="int" />
- <argument index="2" name="index_count" type="int" />
+ <param index="0" name="index_buffer" type="RID" />
+ <param index="1" name="index_offset" type="int" />
+ <param index="2" name="index_count" type="int" />
<description>
</description>
</method>
<method name="index_buffer_create">
<return type="RID" />
- <argument index="0" name="size_indices" type="int" />
- <argument index="1" name="format" type="int" enum="RenderingDevice.IndexBufferFormat" />
- <argument index="2" name="data" type="PackedByteArray" default="PackedByteArray()" />
- <argument index="3" name="use_restart_indices" type="bool" default="false" />
+ <param index="0" name="size_indices" type="int" />
+ <param index="1" name="format" type="int" enum="RenderingDevice.IndexBufferFormat" />
+ <param index="2" name="data" type="PackedByteArray" default="PackedByteArray()" />
+ <param index="3" name="use_restart_indices" type="bool" default="false" />
<description>
</description>
</method>
<method name="limit_get" qualifiers="const">
<return type="int" />
- <argument index="0" name="limit" type="int" enum="RenderingDevice.Limit" />
+ <param index="0" name="limit" type="int" enum="RenderingDevice.Limit" />
<description>
</description>
</method>
<method name="render_pipeline_create">
<return type="RID" />
- <argument index="0" name="shader" type="RID" />
- <argument index="1" name="framebuffer_format" type="int" />
- <argument index="2" name="vertex_format" type="int" />
- <argument index="3" name="primitive" type="int" enum="RenderingDevice.RenderPrimitive" />
- <argument index="4" name="rasterization_state" type="RDPipelineRasterizationState" />
- <argument index="5" name="multisample_state" type="RDPipelineMultisampleState" />
- <argument index="6" name="stencil_state" type="RDPipelineDepthStencilState" />
- <argument index="7" name="color_blend_state" type="RDPipelineColorBlendState" />
- <argument index="8" name="dynamic_state_flags" type="int" default="0" />
- <argument index="9" name="for_render_pass" type="int" default="0" />
- <argument index="10" name="specialization_constants" type="RDPipelineSpecializationConstant[]" default="[]" />
+ <param index="0" name="shader" type="RID" />
+ <param index="1" name="framebuffer_format" type="int" />
+ <param index="2" name="vertex_format" type="int" />
+ <param index="3" name="primitive" type="int" enum="RenderingDevice.RenderPrimitive" />
+ <param index="4" name="rasterization_state" type="RDPipelineRasterizationState" />
+ <param index="5" name="multisample_state" type="RDPipelineMultisampleState" />
+ <param index="6" name="stencil_state" type="RDPipelineDepthStencilState" />
+ <param index="7" name="color_blend_state" type="RDPipelineColorBlendState" />
+ <param index="8" name="dynamic_state_flags" type="int" default="0" />
+ <param index="9" name="for_render_pass" type="int" default="0" />
+ <param index="10" name="specialization_constants" type="RDPipelineSpecializationConstant[]" default="[]" />
<description>
</description>
</method>
<method name="render_pipeline_is_valid">
<return type="bool" />
- <argument index="0" name="render_pipeline" type="RID" />
+ <param index="0" name="render_pipeline" type="RID" />
<description>
</description>
</method>
<method name="sampler_create">
<return type="RID" />
- <argument index="0" name="state" type="RDSamplerState" />
+ <param index="0" name="state" type="RDSamplerState" />
<description>
</description>
</method>
@@ -436,61 +442,61 @@
</method>
<method name="screen_get_height" qualifiers="const">
<return type="int" />
- <argument index="0" name="screen" type="int" default="0" />
+ <param index="0" name="screen" type="int" default="0" />
<description>
</description>
</method>
<method name="screen_get_width" qualifiers="const">
<return type="int" />
- <argument index="0" name="screen" type="int" default="0" />
+ <param index="0" name="screen" type="int" default="0" />
<description>
</description>
</method>
<method name="set_resource_name">
<return type="void" />
- <argument index="0" name="id" type="RID" />
- <argument index="1" name="name" type="String" />
+ <param index="0" name="id" type="RID" />
+ <param index="1" name="name" type="String" />
<description>
</description>
</method>
<method name="shader_compile_binary_from_spirv">
<return type="PackedByteArray" />
- <argument index="0" name="spirv_data" type="RDShaderSPIRV" />
- <argument index="1" name="name" type="String" default="&quot;&quot;" />
+ <param index="0" name="spirv_data" type="RDShaderSPIRV" />
+ <param index="1" name="name" type="String" default="&quot;&quot;" />
<description>
</description>
</method>
<method name="shader_compile_spirv_from_source">
<return type="RDShaderSPIRV" />
- <argument index="0" name="shader_source" type="RDShaderSource" />
- <argument index="1" name="allow_cache" type="bool" default="true" />
+ <param index="0" name="shader_source" type="RDShaderSource" />
+ <param index="1" name="allow_cache" type="bool" default="true" />
<description>
</description>
</method>
<method name="shader_create_from_bytecode">
<return type="RID" />
- <argument index="0" name="binary_data" type="PackedByteArray" />
+ <param index="0" name="binary_data" type="PackedByteArray" />
<description>
</description>
</method>
<method name="shader_create_from_spirv">
<return type="RID" />
- <argument index="0" name="spirv_data" type="RDShaderSPIRV" />
- <argument index="1" name="name" type="String" default="&quot;&quot;" />
+ <param index="0" name="spirv_data" type="RDShaderSPIRV" />
+ <param index="1" name="name" type="String" default="&quot;&quot;" />
<description>
</description>
</method>
<method name="shader_get_vertex_input_attribute_mask">
<return type="int" />
- <argument index="0" name="shader" type="RID" />
+ <param index="0" name="shader" type="RID" />
<description>
</description>
</method>
<method name="storage_buffer_create">
<return type="RID" />
- <argument index="0" name="size_bytes" type="int" />
- <argument index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
- <argument index="2" name="usage" type="int" default="0" />
+ <param index="0" name="size_bytes" type="int" />
+ <param index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
+ <param index="2" name="usage" type="int" default="0" />
<description>
</description>
</method>
@@ -506,140 +512,140 @@
</method>
<method name="texture_buffer_create">
<return type="RID" />
- <argument index="0" name="size_bytes" type="int" />
- <argument index="1" name="format" type="int" enum="RenderingDevice.DataFormat" />
- <argument index="2" name="data" type="PackedByteArray" default="PackedByteArray()" />
+ <param index="0" name="size_bytes" type="int" />
+ <param index="1" name="format" type="int" enum="RenderingDevice.DataFormat" />
+ <param index="2" name="data" type="PackedByteArray" default="PackedByteArray()" />
<description>
</description>
</method>
<method name="texture_clear">
<return type="int" enum="Error" />
- <argument index="0" name="texture" type="RID" />
- <argument index="1" name="color" type="Color" />
- <argument index="2" name="base_mipmap" type="int" />
- <argument index="3" name="mipmap_count" type="int" />
- <argument index="4" name="base_layer" type="int" />
- <argument index="5" name="layer_count" type="int" />
- <argument index="6" name="post_barrier" type="int" default="7" />
+ <param index="0" name="texture" type="RID" />
+ <param index="1" name="color" type="Color" />
+ <param index="2" name="base_mipmap" type="int" />
+ <param index="3" name="mipmap_count" type="int" />
+ <param index="4" name="base_layer" type="int" />
+ <param index="5" name="layer_count" type="int" />
+ <param index="6" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="texture_copy">
<return type="int" enum="Error" />
- <argument index="0" name="from_texture" type="RID" />
- <argument index="1" name="to_texture" type="RID" />
- <argument index="2" name="from_pos" type="Vector3" />
- <argument index="3" name="to_pos" type="Vector3" />
- <argument index="4" name="size" type="Vector3" />
- <argument index="5" name="src_mipmap" type="int" />
- <argument index="6" name="dst_mipmap" type="int" />
- <argument index="7" name="src_layer" type="int" />
- <argument index="8" name="dst_layer" type="int" />
- <argument index="9" name="post_barrier" type="int" default="7" />
+ <param index="0" name="from_texture" type="RID" />
+ <param index="1" name="to_texture" type="RID" />
+ <param index="2" name="from_pos" type="Vector3" />
+ <param index="3" name="to_pos" type="Vector3" />
+ <param index="4" name="size" type="Vector3" />
+ <param index="5" name="src_mipmap" type="int" />
+ <param index="6" name="dst_mipmap" type="int" />
+ <param index="7" name="src_layer" type="int" />
+ <param index="8" name="dst_layer" type="int" />
+ <param index="9" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="texture_create">
<return type="RID" />
- <argument index="0" name="format" type="RDTextureFormat" />
- <argument index="1" name="view" type="RDTextureView" />
- <argument index="2" name="data" type="PackedByteArray[]" default="[]" />
+ <param index="0" name="format" type="RDTextureFormat" />
+ <param index="1" name="view" type="RDTextureView" />
+ <param index="2" name="data" type="PackedByteArray[]" default="[]" />
<description>
</description>
</method>
<method name="texture_create_shared">
<return type="RID" />
- <argument index="0" name="view" type="RDTextureView" />
- <argument index="1" name="with_texture" type="RID" />
+ <param index="0" name="view" type="RDTextureView" />
+ <param index="1" name="with_texture" type="RID" />
<description>
</description>
</method>
<method name="texture_create_shared_from_slice">
<return type="RID" />
- <argument index="0" name="view" type="RDTextureView" />
- <argument index="1" name="with_texture" type="RID" />
- <argument index="2" name="layer" type="int" />
- <argument index="3" name="mipmap" type="int" />
- <argument index="4" name="mipmaps" type="int" default="1" />
- <argument index="5" name="slice_type" type="int" enum="RenderingDevice.TextureSliceType" default="0" />
+ <param index="0" name="view" type="RDTextureView" />
+ <param index="1" name="with_texture" type="RID" />
+ <param index="2" name="layer" type="int" />
+ <param index="3" name="mipmap" type="int" />
+ <param index="4" name="mipmaps" type="int" default="1" />
+ <param index="5" name="slice_type" type="int" enum="RenderingDevice.TextureSliceType" default="0" />
<description>
</description>
</method>
<method name="texture_get_data">
<return type="PackedByteArray" />
- <argument index="0" name="texture" type="RID" />
- <argument index="1" name="layer" type="int" />
+ <param index="0" name="texture" type="RID" />
+ <param index="1" name="layer" type="int" />
<description>
</description>
</method>
<method name="texture_is_format_supported_for_usage" qualifiers="const">
<return type="bool" />
- <argument index="0" name="format" type="int" enum="RenderingDevice.DataFormat" />
- <argument index="1" name="usage_flags" type="int" />
+ <param index="0" name="format" type="int" enum="RenderingDevice.DataFormat" />
+ <param index="1" name="usage_flags" type="int" />
<description>
</description>
</method>
<method name="texture_is_shared">
<return type="bool" />
- <argument index="0" name="texture" type="RID" />
+ <param index="0" name="texture" type="RID" />
<description>
</description>
</method>
<method name="texture_is_valid">
<return type="bool" />
- <argument index="0" name="texture" type="RID" />
+ <param index="0" name="texture" type="RID" />
<description>
</description>
</method>
<method name="texture_resolve_multisample">
<return type="int" enum="Error" />
- <argument index="0" name="from_texture" type="RID" />
- <argument index="1" name="to_texture" type="RID" />
- <argument index="2" name="post_barrier" type="int" default="7" />
+ <param index="0" name="from_texture" type="RID" />
+ <param index="1" name="to_texture" type="RID" />
+ <param index="2" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="texture_update">
<return type="int" enum="Error" />
- <argument index="0" name="texture" type="RID" />
- <argument index="1" name="layer" type="int" />
- <argument index="2" name="data" type="PackedByteArray" />
- <argument index="3" name="post_barrier" type="int" default="7" />
+ <param index="0" name="texture" type="RID" />
+ <param index="1" name="layer" type="int" />
+ <param index="2" name="data" type="PackedByteArray" />
+ <param index="3" name="post_barrier" type="int" default="7" />
<description>
</description>
</method>
<method name="uniform_buffer_create">
<return type="RID" />
- <argument index="0" name="size_bytes" type="int" />
- <argument index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
+ <param index="0" name="size_bytes" type="int" />
+ <param index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
<description>
</description>
</method>
<method name="uniform_set_create">
<return type="RID" />
- <argument index="0" name="uniforms" type="Array" />
- <argument index="1" name="shader" type="RID" />
- <argument index="2" name="shader_set" type="int" />
+ <param index="0" name="uniforms" type="Array" />
+ <param index="1" name="shader" type="RID" />
+ <param index="2" name="shader_set" type="int" />
<description>
</description>
</method>
<method name="uniform_set_is_valid">
<return type="bool" />
- <argument index="0" name="uniform_set" type="RID" />
+ <param index="0" name="uniform_set" type="RID" />
<description>
</description>
</method>
<method name="vertex_buffer_create">
<return type="RID" />
- <argument index="0" name="size_bytes" type="int" />
- <argument index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
- <argument index="2" name="use_as_storage" type="bool" default="false" />
+ <param index="0" name="size_bytes" type="int" />
+ <param index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
+ <param index="2" name="use_as_storage" type="bool" default="false" />
<description>
</description>
</method>
<method name="vertex_format_create">
<return type="int" />
- <argument index="0" name="vertex_descriptions" type="RDVertexAttribute[]" />
+ <param index="0" name="vertex_descriptions" type="RDVertexAttribute[]" />
<description>
</description>
</method>