Berserk
Static Public Member Functions | List of all members
ImageUtil Class Reference

Image processing utils. More...

#include <ImageUtil.hpp>

Static Public Member Functions

static BRK_API uint32 GetMaxMipsCount (uint32 width, uint32 height, uint32 depth)
 
static BRK_API Size2u GetMipSize (uint32 level, uint32 width, uint32 height)
 
static BRK_API uint32 GetPixelSize (Image::Format format)
 
static BRK_API uint32 GetChannelsCount (Image::Format format)
 
static BRK_API bool CanAccept (Image::Format format)
 
static BRK_API bool CanSaveRgba (Image::Format format)
 
static BRK_API bool CanResize (Image::Format format)
 

Detailed Description

Image processing utils.

Member Function Documentation

◆ CanAccept()

bool ImageUtil::CanAccept ( Image::Format  format)
static

◆ CanResize()

bool ImageUtil::CanResize ( Image::Format  format)
static

◆ CanSaveRgba()

bool ImageUtil::CanSaveRgba ( Image::Format  format)
static

◆ GetChannelsCount()

uint32 ImageUtil::GetChannelsCount ( Image::Format  format)
static

◆ GetMaxMipsCount()

BRK_NS_BEGIN uint32 ImageUtil::GetMaxMipsCount ( uint32  width,
uint32  height,
uint32  depth 
)
static

◆ GetMipSize()

Size2u ImageUtil::GetMipSize ( uint32  level,
uint32  width,
uint32  height 
)
static

◆ GetPixelSize()

uint32 ImageUtil::GetPixelSize ( Image::Format  format)
static

The documentation for this class was generated from the following files: