Remove old code
This commit is contained in:
@@ -169,22 +169,6 @@ DECLARE_ENUM_OPERATORS(AnimGraphStateTransition::FlagTypes);
|
||||
API_CLASS() class AnimGraphParameter : public VisjectGraphParameter
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(AnimGraphParameter, VisjectGraphParameter);
|
||||
public:
|
||||
AnimGraphParameter(const AnimGraphParameter& other)
|
||||
: AnimGraphParameter()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
AnimGraphParameter& operator=(const AnimGraphParameter& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -234,6 +234,8 @@ struct TIsCopyConstructible
|
||||
enum { Value = __is_constructible(T, typename TAddLValueReference<typename TAddConst<T>::Type>::Type) };
|
||||
};
|
||||
|
||||
// Checks if a type has a move constructor.
|
||||
|
||||
template<typename T>
|
||||
struct TIsMoveConstructible
|
||||
{
|
||||
|
||||
@@ -198,23 +198,6 @@ private:
|
||||
ScriptingObjectReference<GPUTexture> _asGPUTexture;
|
||||
String _name;
|
||||
|
||||
public:
|
||||
MaterialParameter(const MaterialParameter& other)
|
||||
: MaterialParameter()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
MaterialParameter& operator=(const MaterialParameter& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Gets the parameter ID (not the parameter instance Id but the original parameter ID).
|
||||
|
||||
@@ -28,13 +28,4 @@ API_CLASS(NoSpawn) class FLAXENGINE_API MaterialSlot : public ScriptingObject
|
||||
/// The slot name.
|
||||
/// </summary>
|
||||
API_FIELD() String Name;
|
||||
|
||||
public:
|
||||
MaterialSlot(const MaterialSlot& other)
|
||||
: MaterialSlot()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
@@ -16,16 +16,6 @@ API_CLASS(NoSpawn) class FLAXENGINE_API Mesh : public MeshBase
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(Mesh, MeshBase);
|
||||
|
||||
public:
|
||||
Mesh(const Mesh& other)
|
||||
: Mesh()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Gets the model owning this mesh.
|
||||
/// </summary>
|
||||
|
||||
@@ -12,16 +12,6 @@ API_CLASS(NoSpawn) class FLAXENGINE_API SkinnedMesh : public MeshBase
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(SkinnedMesh, MeshBase);
|
||||
|
||||
public:
|
||||
SkinnedMesh(const SkinnedMesh& other)
|
||||
: SkinnedMesh()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Gets the skinned model owning this mesh.
|
||||
/// </summary>
|
||||
@@ -48,7 +38,6 @@ public:
|
||||
/// <returns>True if cannot load data, otherwise false.</returns>
|
||||
DEPRECATED("Use Init intead.") bool Load(uint32 vertices, uint32 triangles, const void* vb0, const void* ib, bool use16BitIndexBuffer);
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Updates the model mesh (used by the virtual models created with Init rather than Load).
|
||||
/// [Deprecated in v1.10]
|
||||
|
||||
@@ -24,33 +24,10 @@ private:
|
||||
ID3D11UnorderedAccessView* _uav = nullptr;
|
||||
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="GPUTextureViewDX11"/> class.
|
||||
/// </summary>
|
||||
GPUTextureViewDX11()
|
||||
{
|
||||
}
|
||||
|
||||
GPUTextureViewDX11(const GPUTextureViewDX11& other)
|
||||
: GPUTextureViewDX11()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
GPUTextureViewDX11& operator=(const GPUTextureViewDX11& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Finalizes an instance of the <see cref="GPUTextureViewDX11"/> class.
|
||||
/// </summary>
|
||||
~GPUTextureViewDX11()
|
||||
{
|
||||
Release();
|
||||
|
||||
@@ -21,27 +21,10 @@ private:
|
||||
DescriptorHeapWithSlotsDX12::Slot _rtv, _srv, _dsv, _uav;
|
||||
|
||||
public:
|
||||
|
||||
GPUTextureViewDX12()
|
||||
{
|
||||
}
|
||||
|
||||
GPUTextureViewDX12(const GPUTextureViewDX12& other)
|
||||
: GPUTextureViewDX12()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
GPUTextureViewDX12& operator=(const GPUTextureViewDX12& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
|
||||
~GPUTextureViewDX12()
|
||||
{
|
||||
Release();
|
||||
|
||||
@@ -19,22 +19,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
GPUTextureViewVulkan(const GPUTextureViewVulkan& other)
|
||||
: GPUTextureViewVulkan()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
GPUTextureViewVulkan& operator=(const GPUTextureViewVulkan& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if !BUILD_RELEASE
|
||||
~GPUTextureViewVulkan()
|
||||
{
|
||||
|
||||
@@ -32,22 +32,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
ParticleEffectParameter(const ParticleEffectParameter& other)
|
||||
: ParticleEffectParameter()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
ParticleEffectParameter& operator=(const ParticleEffectParameter& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if parameter object handle is valid.
|
||||
/// </summary>
|
||||
|
||||
@@ -21,22 +21,6 @@ public:
|
||||
: GraphParameter(SpawnParams(Guid::New(), TypeInitializer))
|
||||
{
|
||||
}
|
||||
|
||||
ParticleSystemParameter(const ParticleSystemParameter& other)
|
||||
: ParticleSystemParameter()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
ParticleSystemParameter& operator=(const ParticleSystemParameter& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -94,22 +94,6 @@ public:
|
||||
: GraphParameter(SpawnParams(Guid::New(), TypeInitializer))
|
||||
{
|
||||
}
|
||||
|
||||
ShaderGraphParameter(const ShaderGraphParameter& other)
|
||||
: ShaderGraphParameter()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
ShaderGraphParameter& operator=(const ShaderGraphParameter& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
template<class NodeType = ShaderGraphNode<>, class BoxType = ShaderGraphBox, class ParameterType = ShaderGraphParameter>
|
||||
|
||||
@@ -103,22 +103,6 @@ public:
|
||||
API_CLASS() class FLAXENGINE_API VisjectGraphParameter : public GraphParameter
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(VisjectGraphParameter, GraphParameter);
|
||||
public:
|
||||
VisjectGraphParameter(const VisjectGraphParameter& other)
|
||||
: VisjectGraphParameter()
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
}
|
||||
|
||||
VisjectGraphParameter& operator=(const VisjectGraphParameter& other)
|
||||
{
|
||||
#if !BUILD_RELEASE
|
||||
CRASH; // Not used
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
template<class NodeType = VisjectGraphNode<>, class BoxType = VisjectGraphBox, class ParameterType = VisjectGraphParameter>
|
||||
|
||||
Reference in New Issue
Block a user