Cleanup some code

This commit is contained in:
Wojtek Figat
2021-06-10 16:59:59 +02:00
parent 90d9f83f8c
commit 14bc9501c7
11 changed files with 114 additions and 439 deletions

View File

@@ -214,7 +214,6 @@ public:
/// <summary>
/// Gets the parameter ID (not the parameter instance Id but the original parameter ID).
/// </summary>
/// <returns>The ID.</returns>
API_PROPERTY() FORCE_INLINE Guid GetParameterID() const
{
return _paramId;
@@ -223,7 +222,6 @@ public:
/// <summary>
/// Gets the parameter type.
/// </summary>
/// <returns>The type.</returns>
API_PROPERTY() FORCE_INLINE MaterialParameterType GetParameterType() const
{
return _type;
@@ -232,7 +230,6 @@ public:
/// <summary>
/// Gets the parameter name.
/// </summary>
/// <returns>The name.</returns>
API_PROPERTY() FORCE_INLINE const String& GetName() const
{
return _name;
@@ -241,7 +238,6 @@ public:
/// <summary>
/// Returns true is parameter is public visible.
/// </summary>
/// <returns>True if parameter has public access, otherwise false.</returns>
API_PROPERTY() FORCE_INLINE bool IsPublic() const
{
return _isPublic;
@@ -250,7 +246,6 @@ public:
/// <summary>
/// Returns true is parameter is overriding the value.
/// </summary>
/// <returns>True if parameter is overriding the value, otherwise false.</returns>
API_PROPERTY() FORCE_INLINE bool IsOverride() const
{
return _override;
@@ -259,7 +254,6 @@ public:
/// <summary>
/// Sets the value override mode.
/// </summary>
/// <param name="value">The value.</param>
API_PROPERTY() void SetIsOverride(bool value)
{
_override = value;
@@ -268,7 +262,6 @@ public:
/// <summary>
/// Gets the parameter resource graphics pipeline binding register index.
/// </summary>
/// <returns>The binding register.</returns>
FORCE_INLINE byte GetRegister() const
{
return _registerIndex;
@@ -277,7 +270,6 @@ public:
/// <summary>
/// Gets the parameter binding offset since the start of the constant buffer.
/// </summary>
/// <returns>The binding data offset (in bytes).</returns>
FORCE_INLINE uint16 GetBindOffset() const
{
return _offset;