Rename remaining "*_enable" to "*_enabled"
Material.`proximity_fade_enable` -> `proximity_fade_enabled` Material.`set_proximity_fade` -> `set_proximity_fade_enabled` (Material.`is_proximity_fade_enabled` is unchanged) Area3D.`reverb_bus_enable` -> `reverb_bus_enabled` (`set_use_reverb_bus` & `is_using_reverb_bus` are unchanged) RDPipelineRasterizationState: `depth_bias_enable` -> `depth_bias_enabled` `set_depth_bias_enable` -> `set_depth_bias_enabled` `get_depth_bias_enable` -> `get_depth_bias_enabled` Bonus: Area3D.`set_reverb_bus` -> `set_reverb_bus_name` Area3D.`get_reverb_bus` -> `set_get_reverb_bus_name`
This commit is contained in:
parent
53d2a9acdd
commit
c1b5b68eee
|
@ -110,11 +110,11 @@
|
|||
<member name="reverb_bus_amount" type="float" setter="set_reverb_amount" getter="get_reverb_amount" default="0.0">
|
||||
The degree to which this area applies reverb to its associated audio. Ranges from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision.
|
||||
</member>
|
||||
<member name="reverb_bus_enable" type="bool" setter="set_use_reverb_bus" getter="is_using_reverb_bus" default="false">
|
||||
<member name="reverb_bus_enabled" type="bool" setter="set_use_reverb_bus" getter="is_using_reverb_bus" default="false">
|
||||
If [code]true[/code], the area applies reverb to its associated audio.
|
||||
</member>
|
||||
<member name="reverb_bus_name" type="StringName" setter="set_reverb_bus" getter="get_reverb_bus" default="&"Master"">
|
||||
The reverb bus name to use for this area's associated audio.
|
||||
<member name="reverb_bus_name" type="StringName" setter="set_reverb_bus_name" getter="get_reverb_bus_name" default="&"Master"">
|
||||
The name of the reverb bus to use for this area's associated audio.
|
||||
</member>
|
||||
<member name="reverb_bus_uniformity" type="float" setter="set_reverb_uniformity" getter="get_reverb_uniformity" default="0.0">
|
||||
The degree to which this area's reverb is a uniform effect. Ranges from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision.
|
||||
|
|
|
@ -305,7 +305,7 @@
|
|||
<member name="proximity_fade_distance" type="float" setter="set_proximity_fade_distance" getter="get_proximity_fade_distance" default="1.0">
|
||||
Distance over which the fade effect takes place. The larger the distance the longer it takes for an object to fade.
|
||||
</member>
|
||||
<member name="proximity_fade_enable" type="bool" setter="set_proximity_fade" getter="is_proximity_fade_enabled" default="false">
|
||||
<member name="proximity_fade_enabled" type="bool" setter="set_proximity_fade_enabled" getter="is_proximity_fade_enabled" default="false">
|
||||
If [code]true[/code], the proximity fade effect is enabled. The proximity fade effect fades out each pixel based on its distance to another object.
|
||||
</member>
|
||||
<member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature" default="false">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</member>
|
||||
<member name="depth_bias_constant_factor" type="float" setter="set_depth_bias_constant_factor" getter="get_depth_bias_constant_factor" default="0.0">
|
||||
</member>
|
||||
<member name="depth_bias_enable" type="bool" setter="set_depth_bias_enable" getter="get_depth_bias_enable" default="false">
|
||||
<member name="depth_bias_enabled" type="bool" setter="set_depth_bias_enabled" getter="get_depth_bias_enabled" default="false">
|
||||
</member>
|
||||
<member name="depth_bias_slope_factor" type="float" setter="set_depth_bias_slope_factor" getter="get_depth_bias_slope_factor" default="0.0">
|
||||
</member>
|
||||
|
|
|
@ -6561,7 +6561,7 @@ RID RenderingDeviceVulkan::render_pipeline_create(RID p_shader, FramebufferForma
|
|||
ERR_FAIL_INDEX_V(p_rasterization_state.cull_mode, 3, RID());
|
||||
rasterization_state_create_info.cullMode = cull_mode[p_rasterization_state.cull_mode];
|
||||
rasterization_state_create_info.frontFace = (p_rasterization_state.front_face == POLYGON_FRONT_FACE_CLOCKWISE ? VK_FRONT_FACE_CLOCKWISE : VK_FRONT_FACE_COUNTER_CLOCKWISE);
|
||||
rasterization_state_create_info.depthBiasEnable = p_rasterization_state.depth_bias_enable;
|
||||
rasterization_state_create_info.depthBiasEnable = p_rasterization_state.depth_bias_enabled;
|
||||
rasterization_state_create_info.depthBiasConstantFactor = p_rasterization_state.depth_bias_constant_factor;
|
||||
rasterization_state_create_info.depthBiasClamp = p_rasterization_state.depth_bias_clamp;
|
||||
rasterization_state_create_info.depthBiasSlopeFactor = p_rasterization_state.depth_bias_slope_factor;
|
||||
|
|
|
@ -299,6 +299,7 @@ static const char *gdscript_function_renames[][2] = {
|
|||
{ "get_cull_mask_bit", "get_cull_mask_value" }, // Camera3D
|
||||
{ "get_cursor_position", "get_caret_column" }, // LineEdit
|
||||
{ "get_d", "get_distance" }, // LineShape2D
|
||||
{ "get_depth_bias_enable", "get_depth_bias_enabled" }, // RDPipelineRasterizationState
|
||||
{ "get_drag_data", "_get_drag_data" }, // Control
|
||||
{ "get_drag_data_fw", "_get_drag_data_fw" }, // ScriptEditor
|
||||
{ "get_editor_viewport", "get_editor_main_screen" }, // EditorPlugin
|
||||
|
@ -354,6 +355,7 @@ static const char *gdscript_function_renames[][2] = {
|
|||
{ "get_render_targetsize", "get_render_target_size" }, // XRInterface
|
||||
{ "get_resource_type", "_get_resource_type" }, // ResourceFormatLoader
|
||||
{ "get_result", "get_data" }, //JSON
|
||||
{ "get_reverb_bus", "set_reverb_bus_name" }, // Area3D
|
||||
{ "get_rpc_sender_id", "get_remote_sender_id" }, // Multiplayer API
|
||||
{ "get_save_extension", "_get_save_extension" }, // EditorImportPlugin
|
||||
{ "get_scancode", "get_keycode" }, // InputEventKey
|
||||
|
@ -488,6 +490,7 @@ static const char *gdscript_function_renames[][2] = {
|
|||
{ "set_cull_mask_bit", "set_cull_mask_value" }, // Camera3D
|
||||
{ "set_cursor_position", "set_caret_column" }, // LineEdit
|
||||
{ "set_d", "set_distance" }, // WorldMarginShape2D
|
||||
{ "set_depth_bias_enable", "set_depth_bias_enabled" }, // RDPipelineRasterizationState
|
||||
{ "set_doubleclick", "set_double_click" }, // InputEventMouseButton
|
||||
{ "set_draw_red", "set_draw_warning" }, // EditorProperty
|
||||
{ "set_enabled_focus_mode", "set_focus_mode" }, // BaseButton
|
||||
|
@ -517,9 +520,11 @@ static const char *gdscript_function_renames[][2] = {
|
|||
{ "set_oneshot", "set_one_shot" }, // AnimatedTexture
|
||||
{ "set_pause_mode", "set_process_mode" }, // Node
|
||||
{ "set_physical_scancode", "set_physical_keycode" }, // InputEventKey
|
||||
{ "set_proximity_fade", "set_proximity_fade_enabled" }, // Material
|
||||
{ "set_refuse_new_network_connections", "set_refuse_new_connections" }, // Multiplayer API
|
||||
{ "set_region", "set_region_enabled" }, // Sprite2D, Sprite broke AtlasTexture
|
||||
{ "set_region_filter_clip", "set_region_filter_clip_enabled" }, // Sprite2D
|
||||
{ "set_reverb_bus", "set_reverb_bus_name" }, // Area3D
|
||||
{ "set_rotate", "set_rotates" }, // PathFollow2D
|
||||
{ "set_scancode", "set_keycode" }, // InputEventKey
|
||||
{ "set_shift", "set_shift_pressed" }, // InputEventWithModifiers
|
||||
|
@ -728,6 +733,7 @@ static const char *csharp_function_renames[][2] = {
|
|||
{ "GetCullMaskBit", "GetCullMaskValue" }, // Camera3D
|
||||
{ "GetCursorPosition", "GetCaretColumn" }, // LineEdit
|
||||
{ "GetD", "GetDistance" }, // LineShape2D
|
||||
{ "GetDepthBiasEnable", "GetDepthBiasEnabled" }, // RDPipelineRasterizationState
|
||||
{ "GetDragDataFw", "_GetDragDataFw" }, // ScriptEditor
|
||||
{ "GetEditorViewport", "GetViewport" }, // EditorPlugin
|
||||
{ "GetEnabledFocusMode", "GetFocusMode" }, // BaseButton
|
||||
|
@ -780,6 +786,7 @@ static const char *csharp_function_renames[][2] = {
|
|||
{ "GetRenderTargetsize", "GetRenderTargetSize" }, // XRInterface
|
||||
{ "GetResourceType", "_GetResourceType" }, // ResourceFormatLoader
|
||||
{ "GetResult", "GetData" }, //JSON
|
||||
{ "GetReverbBus", "GetReverbBusName" }, // Area3D
|
||||
{ "GetRpcSenderId", "GetRemoteSenderId" }, // Multiplayer API
|
||||
{ "GetSaveExtension", "_GetSaveExtension" }, // EditorImportPlugin
|
||||
{ "GetScancode", "GetKeycode" }, // InputEventKey
|
||||
|
@ -908,6 +915,7 @@ static const char *csharp_function_renames[][2] = {
|
|||
{ "SetCullMaskBit", "SetCullMaskValue" }, // Camera3D
|
||||
{ "SetCursorPosition", "SetCaretColumn" }, // LineEdit
|
||||
{ "SetD", "SetDistance" }, // WorldMarginShape2D
|
||||
{ "SetDepthBiasEnable", "SetDepthBiasEnabled" }, // RDPipelineRasterizationState
|
||||
{ "SetDoubleclick", "SetDoubleClick" }, // InputEventMouseButton
|
||||
{ "SetEnabledFocusMode", "SetFocusMode" }, // BaseButton
|
||||
{ "SetEndianSwap", "SetBigEndian" }, // File
|
||||
|
@ -933,9 +941,11 @@ static const char *csharp_function_renames[][2] = {
|
|||
{ "SetNetworkPeer", "SetMultiplayerPeer" }, // Multiplayer API
|
||||
{ "SetOneshot", "SetOneShot" }, // AnimatedTexture
|
||||
{ "SetPhysicalScancode", "SetPhysicalKeycode" }, // InputEventKey
|
||||
{ "SetProximityFade", "SetProximityFadeEnabled" }, // Material
|
||||
{ "SetRefuseNewNetworkConnections", "SetRefuseNewConnections" }, // Multiplayer API
|
||||
{ "SetRegion", "SetRegionEnabled" }, // Sprite2D, Sprite broke AtlasTexture
|
||||
{ "SetRegionFilterClip", "SetRegionFilterClipEnabled" }, // Sprite2D
|
||||
{ "SetReverbBus", "SetReverbBusName" }, // Area3D
|
||||
{ "SetRotate", "SetRotates" }, // PathFollow2D
|
||||
{ "SetScancode", "SetKeycode" }, // InputEventKey
|
||||
{ "SetShift", "SetShiftPressed" }, // InputEventWithModifiers
|
||||
|
@ -1051,6 +1061,7 @@ static const char *gdscript_properties_renames[][2] = {
|
|||
{ "close_v_ofs", "close_v_offset" }, // Theme
|
||||
{ "commentfocus", "comment_focus" }, // Theme
|
||||
{ "contacts_reported", "max_contacts_reported" }, // RigidBody
|
||||
{ "depth_bias_enable", "depth_bias_enabled" }, // RDPipelineRasterizationState
|
||||
{ "drag_margin_bottom", "drag_bottom_margin" }, // Camera2D
|
||||
{ "drag_margin_h_enabled", "drag_horizontal_enabled" }, // Camera2D
|
||||
{ "drag_margin_left", "drag_left_margin" }, // Camera2D
|
||||
|
@ -1091,6 +1102,7 @@ static const char *gdscript_properties_renames[][2] = {
|
|||
{ "pause_mode", "process_mode" }, // Node
|
||||
{ "physical_scancode", "physical_keycode" }, // InputEventKey
|
||||
{ "popup_exclusive", "exclusive" }, // Window
|
||||
{ "proximity_fade_enable", "proximity_fade_enabled" }, // Material
|
||||
{ "rect_position", "position" }, // Control
|
||||
{ "rect_global_position", "global_position" }, // Control
|
||||
{ "rect_size", "size" }, // Control
|
||||
|
@ -1101,6 +1113,7 @@ static const char *gdscript_properties_renames[][2] = {
|
|||
{ "rect_clip_content", "clip_contents" }, // Control
|
||||
{ "refuse_new_network_connections", "refuse_new_connections" }, // MultiplayerAPI
|
||||
{ "region_filter_clip", "region_filter_clip_enabled" }, // Sprite2D
|
||||
{ "reverb_bus_enable", "reverb_bus_enabled" }, // Area3D
|
||||
{ "selectedframe", "selected_frame" }, // Theme
|
||||
{ "size_override_stretch", "size_2d_override_stretch" }, // SubViewport
|
||||
{ "slips_on_slope", "slide_on_slope" }, // SeparationRayShape2D
|
||||
|
@ -1154,6 +1167,7 @@ static const char *csharp_properties_renames[][2] = {
|
|||
{ "CloseHOfs", "CloseHOffset" }, // Theme
|
||||
{ "CloseVOfs", "CloseVOffset" }, // Theme
|
||||
{ "Commentfocus", "CommentFocus" }, // Theme
|
||||
{ "DepthBiasEnable", "DepthBiasEnabled" }, // RDPipelineRasterizationState
|
||||
{ "DragMarginBottom", "DragBottomMargin" }, // Camera2D
|
||||
{ "DragMarginHEnabled", "DragHorizontalEnabled" }, // Camera2D
|
||||
{ "DragMarginLeft", "DragLeftMargin" }, // Camera2D
|
||||
|
@ -1187,8 +1201,10 @@ static const char *csharp_properties_renames[][2] = {
|
|||
{ "PauseMode", "ProcessMode" }, // Node
|
||||
{ "PhysicalScancode", "PhysicalKeycode" }, // InputEventKey
|
||||
{ "PopupExclusive", "Exclusive" }, // Window
|
||||
{ "ProximityFadeEnable", "ProximityFadeEnabled" }, // Material
|
||||
{ "RefuseNewNetworkConnections", "RefuseNewConnections" }, // MultiplayerAPI
|
||||
{ "RegionFilterClip", "RegionFilterClipEnabled" }, // Sprite2D
|
||||
{ "ReverbBusEnable", "ReverbBusEnabled" }, // Area3D
|
||||
{ "Selectedframe", "SelectedFrame" }, // Theme
|
||||
{ "SizeOverrideStretch", "Size2dOverrideStretch" }, // SubViewport
|
||||
{ "SlipsOnSlope", "SlideOnSlope" }, // SeparationRayShape2D
|
||||
|
|
|
@ -578,11 +578,11 @@ bool Area3D::is_using_reverb_bus() const {
|
|||
return use_reverb_bus;
|
||||
}
|
||||
|
||||
void Area3D::set_reverb_bus(const StringName &p_audio_bus) {
|
||||
void Area3D::set_reverb_bus_name(const StringName &p_audio_bus) {
|
||||
reverb_bus = p_audio_bus;
|
||||
}
|
||||
|
||||
StringName Area3D::get_reverb_bus() const {
|
||||
StringName Area3D::get_reverb_bus_name() const {
|
||||
for (int i = 0; i < AudioServer::get_singleton()->get_bus_count(); i++) {
|
||||
if (AudioServer::get_singleton()->get_bus_name(i) == reverb_bus) {
|
||||
return reverb_bus;
|
||||
|
@ -711,8 +711,8 @@ void Area3D::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("set_use_reverb_bus", "enable"), &Area3D::set_use_reverb_bus);
|
||||
ClassDB::bind_method(D_METHOD("is_using_reverb_bus"), &Area3D::is_using_reverb_bus);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_reverb_bus", "name"), &Area3D::set_reverb_bus);
|
||||
ClassDB::bind_method(D_METHOD("get_reverb_bus"), &Area3D::get_reverb_bus);
|
||||
ClassDB::bind_method(D_METHOD("set_reverb_bus_name", "name"), &Area3D::set_reverb_bus_name);
|
||||
ClassDB::bind_method(D_METHOD("get_reverb_bus_name"), &Area3D::get_reverb_bus_name);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_reverb_amount", "amount"), &Area3D::set_reverb_amount);
|
||||
ClassDB::bind_method(D_METHOD("get_reverb_amount"), &Area3D::get_reverb_amount);
|
||||
|
@ -760,8 +760,8 @@ void Area3D::_bind_methods() {
|
|||
ADD_PROPERTY(PropertyInfo(Variant::STRING_NAME, "audio_bus_name", PROPERTY_HINT_ENUM, ""), "set_audio_bus_name", "get_audio_bus_name");
|
||||
|
||||
ADD_GROUP("Reverb Bus", "reverb_bus_");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "reverb_bus_enable"), "set_use_reverb_bus", "is_using_reverb_bus");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING_NAME, "reverb_bus_name", PROPERTY_HINT_ENUM, ""), "set_reverb_bus", "get_reverb_bus");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "reverb_bus_enabled"), "set_use_reverb_bus", "is_using_reverb_bus");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING_NAME, "reverb_bus_name", PROPERTY_HINT_ENUM, ""), "set_reverb_bus_name", "get_reverb_bus_name");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "reverb_bus_amount", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_reverb_amount", "get_reverb_amount");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "reverb_bus_uniformity", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_reverb_uniformity", "get_reverb_uniformity");
|
||||
|
||||
|
|
|
@ -216,8 +216,8 @@ public:
|
|||
void set_use_reverb_bus(bool p_enable);
|
||||
bool is_using_reverb_bus() const;
|
||||
|
||||
void set_reverb_bus(const StringName &p_audio_bus);
|
||||
StringName get_reverb_bus() const;
|
||||
void set_reverb_bus_name(const StringName &p_audio_bus);
|
||||
StringName get_reverb_bus_name() const;
|
||||
|
||||
void set_reverb_amount(float p_amount);
|
||||
float get_reverb_amount() const;
|
||||
|
|
|
@ -485,7 +485,7 @@ Vector<AudioFrame> AudioStreamPlayer3D::_update_panning() {
|
|||
}
|
||||
|
||||
if (area->is_using_reverb_bus()) {
|
||||
StringName reverb_bus_name = area->get_reverb_bus();
|
||||
StringName reverb_bus_name = area->get_reverb_bus_name();
|
||||
Vector<AudioFrame> reverb_vol;
|
||||
_calc_reverb_vol(area, listener_area_pos, output_volume_vector, reverb_vol);
|
||||
bus_volumes[reverb_bus_name] = reverb_vol;
|
||||
|
|
|
@ -2348,7 +2348,7 @@ void BaseMaterial3D::set_on_top_of_alpha() {
|
|||
set_flag(FLAG_DISABLE_DEPTH_TEST, true);
|
||||
}
|
||||
|
||||
void BaseMaterial3D::set_proximity_fade(bool p_enable) {
|
||||
void BaseMaterial3D::set_proximity_fade_enabled(bool p_enable) {
|
||||
proximity_fade_enabled = p_enable;
|
||||
_queue_shader_change();
|
||||
notify_property_list_changed();
|
||||
|
@ -2624,7 +2624,7 @@ void BaseMaterial3D::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("set_refraction_texture_channel", "channel"), &BaseMaterial3D::set_refraction_texture_channel);
|
||||
ClassDB::bind_method(D_METHOD("get_refraction_texture_channel"), &BaseMaterial3D::get_refraction_texture_channel);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_proximity_fade", "enabled"), &BaseMaterial3D::set_proximity_fade);
|
||||
ClassDB::bind_method(D_METHOD("set_proximity_fade_enabled", "enabled"), &BaseMaterial3D::set_proximity_fade_enabled);
|
||||
ClassDB::bind_method(D_METHOD("is_proximity_fade_enabled"), &BaseMaterial3D::is_proximity_fade_enabled);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_proximity_fade_distance", "distance"), &BaseMaterial3D::set_proximity_fade_distance);
|
||||
|
@ -2808,7 +2808,7 @@ void BaseMaterial3D::_bind_methods() {
|
|||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "point_size", PROPERTY_HINT_RANGE, "0.1,128,0.1,suffix:px"), "set_point_size", "get_point_size");
|
||||
ADD_PROPERTYI(PropertyInfo(Variant::BOOL, "use_particle_trails"), "set_flag", "get_flag", FLAG_PARTICLE_TRAILS_MODE);
|
||||
ADD_GROUP("Proximity Fade", "proximity_fade_");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "proximity_fade_enable"), "set_proximity_fade", "is_proximity_fade_enabled");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "proximity_fade_enabled"), "set_proximity_fade_enabled", "is_proximity_fade_enabled");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "proximity_fade_distance", PROPERTY_HINT_RANGE, "0,4096,0.01,suffix:m"), "set_proximity_fade_distance", "get_proximity_fade_distance");
|
||||
ADD_GROUP("MSDF", "msdf_");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "msdf_pixel_range", PROPERTY_HINT_RANGE, "1,100,1"), "set_msdf_pixel_range", "get_msdf_pixel_range");
|
||||
|
|
|
@ -719,7 +719,7 @@ public:
|
|||
|
||||
void set_on_top_of_alpha();
|
||||
|
||||
void set_proximity_fade(bool p_enable);
|
||||
void set_proximity_fade_enabled(bool p_enable);
|
||||
bool is_proximity_fade_enabled() const;
|
||||
|
||||
void set_proximity_fade_distance(float p_distance);
|
||||
|
|
|
@ -958,7 +958,7 @@ public:
|
|||
bool wireframe;
|
||||
PolygonCullMode cull_mode;
|
||||
PolygonFrontFace front_face;
|
||||
bool depth_bias_enable;
|
||||
bool depth_bias_enabled;
|
||||
float depth_bias_constant_factor;
|
||||
float depth_bias_clamp;
|
||||
float depth_bias_slope_factor;
|
||||
|
@ -970,7 +970,7 @@ public:
|
|||
wireframe = false;
|
||||
cull_mode = POLYGON_CULL_DISABLED;
|
||||
front_face = POLYGON_FRONT_FACE_CLOCKWISE;
|
||||
depth_bias_enable = false;
|
||||
depth_bias_enabled = false;
|
||||
depth_bias_constant_factor = 0;
|
||||
depth_bias_clamp = 0;
|
||||
depth_bias_slope_factor = 0;
|
||||
|
|
|
@ -517,7 +517,7 @@ public:
|
|||
RD_SETGET(bool, wireframe)
|
||||
RD_SETGET(RD::PolygonCullMode, cull_mode)
|
||||
RD_SETGET(RD::PolygonFrontFace, front_face)
|
||||
RD_SETGET(bool, depth_bias_enable)
|
||||
RD_SETGET(bool, depth_bias_enabled)
|
||||
RD_SETGET(float, depth_bias_constant_factor)
|
||||
RD_SETGET(float, depth_bias_clamp)
|
||||
RD_SETGET(float, depth_bias_slope_factor)
|
||||
|
@ -531,7 +531,7 @@ protected:
|
|||
RD_BIND(Variant::BOOL, RDPipelineRasterizationState, wireframe);
|
||||
RD_BIND(Variant::INT, RDPipelineRasterizationState, cull_mode);
|
||||
RD_BIND(Variant::INT, RDPipelineRasterizationState, front_face);
|
||||
RD_BIND(Variant::BOOL, RDPipelineRasterizationState, depth_bias_enable);
|
||||
RD_BIND(Variant::BOOL, RDPipelineRasterizationState, depth_bias_enabled);
|
||||
RD_BIND(Variant::FLOAT, RDPipelineRasterizationState, depth_bias_constant_factor);
|
||||
RD_BIND(Variant::FLOAT, RDPipelineRasterizationState, depth_bias_clamp);
|
||||
RD_BIND(Variant::FLOAT, RDPipelineRasterizationState, depth_bias_slope_factor);
|
||||
|
|
Loading…
Reference in New Issue