Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::Texture Class Referenceexport

Public Member Functions

std::uint32_t getChannels () const
std::uint32_t getHeight () const
VkImage getImage () const
VkImageView getImageView () const
std::uint32_t getMipLevels () const
std::vector< std::array< float, 3 > > getNormalMap () const
std::string getPath () const
std::string getName () const
VkSampler getSampler () const
std::uint32_t getWidth () const
bool isPublic () const
void setChannels (std::uint32_t const channels)
void setHeight (std::uint32_t const height)
void setImage (VkImage const image)
void setImageView (VkImageView const imageview)
void setIsPublic (bool isPublic)
void setMipLevels (std::uint32_t const mip_lvls)
void setName (std::string const &name)
void setNormalMap (std::vector< std::array< float, 3 > > normal_map_texture)
void setPath (std::string_view path)
void setSampler (VkSampler sampler)
void setWidth (std::uint32_t const width)

Member Function Documentation

◆ getChannels()

std::uint32_t Vyroda::Texture::getChannels ( ) const
inline

◆ getHeight()

std::uint32_t Vyroda::Texture::getHeight ( ) const
inline
Here is the caller graph for this function:

◆ getImage()

VkImage Vyroda::Texture::getImage ( ) const
inline
Here is the caller graph for this function:

◆ getImageView()

VkImageView Vyroda::Texture::getImageView ( ) const
inline
Here is the caller graph for this function:

◆ getMipLevels()

std::uint32_t Vyroda::Texture::getMipLevels ( ) const
inline

◆ getName()

std::string Vyroda::Texture::getName ( ) const
inline
Here is the caller graph for this function:

◆ getNormalMap()

std::vector< std::array< float, 3 > > Vyroda::Texture::getNormalMap ( ) const
inline
Here is the caller graph for this function:

◆ getPath()

std::string Vyroda::Texture::getPath ( ) const
inline
Here is the caller graph for this function:

◆ getSampler()

VkSampler Vyroda::Texture::getSampler ( ) const
inline
Here is the caller graph for this function:

◆ getWidth()

std::uint32_t Vyroda::Texture::getWidth ( ) const
inline
Here is the caller graph for this function:

◆ isPublic()

bool Vyroda::Texture::isPublic ( ) const
inline
Here is the caller graph for this function:

◆ setChannels()

void Vyroda::Texture::setChannels ( std::uint32_t const channels)
inline

◆ setHeight()

void Vyroda::Texture::setHeight ( std::uint32_t const height)
inline
Here is the caller graph for this function:

◆ setImage()

void Vyroda::Texture::setImage ( VkImage const image)
inline
Here is the caller graph for this function:

◆ setImageView()

void Vyroda::Texture::setImageView ( VkImageView const imageview)
inline
Here is the caller graph for this function:

◆ setIsPublic()

void Vyroda::Texture::setIsPublic ( bool isPublic)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMipLevels()

void Vyroda::Texture::setMipLevels ( std::uint32_t const mip_lvls)
inline
Here is the caller graph for this function:

◆ setName()

void Vyroda::Texture::setName ( std::string const & name)
inline
Here is the caller graph for this function:

◆ setNormalMap()

void Vyroda::Texture::setNormalMap ( std::vector< std::array< float, 3 > > normal_map_texture)
inline
Here is the caller graph for this function:

◆ setPath()

void Vyroda::Texture::setPath ( std::string_view path)
inline
Here is the caller graph for this function:

◆ setSampler()

void Vyroda::Texture::setSampler ( VkSampler sampler)
inline

◆ setWidth()

void Vyroda::Texture::setWidth ( std::uint32_t const width)
inline
Here is the caller graph for this function:

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