Files
o3de/Code/Legacy/CryCommon/ITexture.h
T
Artur K 2a2847b15d Legacy code cleanup - part 3 (#3903)
* Legacy cleanup - part 3

Not much is left that can be easily removed,
so I think this will be last cleanup before the legacy functionality is replaced.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix windows build, remove a few more things, re-add one file

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove legacy RenderBus + more cleanups

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove MaterialOwnerBus.h

Clean-up in Cry_Matrix34/33

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
2021-09-07 12:14:16 -06:00

48 lines
1013 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/base.h>
// Texture formats
enum ETEX_Format : AZ::u8
{
eTF_Unknown = 0,
eTF_R8G8B8A8 = 2, // may be saved into file
eTF_A8 = 4,
eTF_R8,
eTF_R8S,
eTF_R16,
eTF_R16F,
eTF_R32F,
eTF_R8G8,
eTF_R8G8S,
eTF_R16G16,
eTF_MaxFormat // unused, must be always the last in the list
};
struct SDepthTexture;
//////////////////////////////////////////////////////////////////////
// Texture object interface
class ITexture
{
protected:
virtual ~ITexture() {}
public:
virtual int AddRef() = 0;
virtual int Release() = 0;
virtual int ReleaseForce() = 0;
virtual const char* GetName() const = 0;
};
//=========================================================================================