Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::TextureData Struct Reference

#include <TextureUnit.hpp>

Collaboration diagram for castor3d::TextureData:
Collaboration graph
[legend]

Public Member Functions

 TextureData (TextureSourceInfo psourceInfo, castor::ImageRPtr pimage={}, VkImageUsageFlags pusage=VkImageUsageFlags{ VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_TRANSFER_DST_BIT })
 

Public Attributes

TextureSourceInfo sourceInfo
 
castor::ImageRPtr image
 
VkImageUsageFlags usage
 

Constructor & Destructor Documentation

◆ TextureData()

castor3d::TextureData::TextureData ( TextureSourceInfo psourceInfo,
castor::ImageRPtr pimage = {},
VkImageUsageFlags pusage = VkImageUsageFlags{ VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT } )
inlineexplicit

Member Data Documentation

◆ image

castor::ImageRPtr castor3d::TextureData::image

◆ sourceInfo

TextureSourceInfo castor3d::TextureData::sourceInfo

◆ usage

VkImageUsageFlags castor3d::TextureData::usage

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