PixelFormat rename

PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
This commit is contained in:
Lynix
2020-04-10 14:19:36 +02:00
parent 87f1209327
commit 9507c56fc9
35 changed files with 582 additions and 582 deletions

View File

@@ -15,7 +15,7 @@ namespace Nz
{
struct RenderWindowParameters
{
std::vector<PixelFormatType> depthFormats = {Nz::PixelFormatType_Depth32, Nz::PixelFormatType_Depth24}; //< By order of preference
std::vector<PixelFormat> depthFormats = {Nz::PixelFormat_Depth32, Nz::PixelFormat_Depth24}; //< By order of preference
bool verticalSync = false;
};
}

View File

@@ -17,7 +17,7 @@ namespace Nz
{
struct TextureInfo
{
PixelFormatType pixelFormat;
PixelFormat pixelFormat;
ImageType type;
unsigned int depth = 1;
unsigned int height;
@@ -33,7 +33,7 @@ namespace Nz
Texture(Texture&&) = delete;
virtual ~Texture();
virtual PixelFormatType GetFormat() const = 0;
virtual PixelFormat GetFormat() const = 0;
virtual UInt8 GetLevelCount() const = 0;
virtual Vector3ui GetSize(UInt8 level = 0) const = 0;
virtual ImageType GetType() const = 0;