#include <TextureSourceInfo.hpp>
|
C3D_API | TextureSourceInfo (SamplerObs sampler, castor::Path folder, castor::Path relative, castor::ImageLoaderConfig loadConfig={ true, true, true }) |
|
C3D_API | TextureSourceInfo (SamplerObs sampler, castor::String name, castor::String type, castor::ByteArray data, castor::ImageLoaderConfig loadConfig={ true, true, true }) |
|
C3D_API | TextureSourceInfo (SamplerObs sampler, RenderTargetRPtr renderTarget) |
|
C3D_API | TextureSourceInfo (SamplerObs sampler, ashes::ImageCreateInfo const &createInfo) |
|
SamplerObs | sampler () const |
|
bool | isRenderTarget () const |
|
bool | isFileImage () const |
|
bool | isBufferImage () const |
|
bool | isVulkanImage () const |
|
RenderTargetRPtr | renderTarget () const |
|
castor::Path const & | folder () const |
|
castor::Path const & | relative () const |
|
castor::String | name () const |
|
castor::String const & | type () const |
|
castor::ByteArray const & | buffer () const |
|
bool | allowCompression () const |
|
bool | generateMips () const |
|
bool | layersToTiles () const |
|
castor::ImageLoaderConfig const & | config () const |
|
ashes::ImageCreateInfo const & | createInfo () const |
|
void | setBuffer (castor::ByteArray data) |
|
◆ TextureSourceInfo() [1/4]
C3D_API castor3d::TextureSourceInfo::TextureSourceInfo |
( |
SamplerObs |
sampler, |
|
|
castor::Path |
folder, |
|
|
castor::Path |
relative, |
|
|
castor::ImageLoaderConfig |
loadConfig = { true, true, true } |
|
) |
| |
◆ TextureSourceInfo() [2/4]
C3D_API castor3d::TextureSourceInfo::TextureSourceInfo |
( |
SamplerObs |
sampler, |
|
|
castor::String |
name, |
|
|
castor::String |
type, |
|
|
castor::ByteArray |
data, |
|
|
castor::ImageLoaderConfig |
loadConfig = { true, true, true } |
|
) |
| |
◆ TextureSourceInfo() [3/4]
C3D_API castor3d::TextureSourceInfo::TextureSourceInfo |
( |
SamplerObs |
sampler, |
|
|
RenderTargetRPtr |
renderTarget |
|
) |
| |
◆ TextureSourceInfo() [4/4]
C3D_API castor3d::TextureSourceInfo::TextureSourceInfo |
( |
SamplerObs |
sampler, |
|
|
ashes::ImageCreateInfo const & |
createInfo |
|
) |
| |
◆ allowCompression()
bool castor3d::TextureSourceInfo::allowCompression |
( |
| ) |
const |
|
inline |
◆ buffer()
castor::ByteArray const & castor3d::TextureSourceInfo::buffer |
( |
| ) |
const |
|
inline |
◆ config()
castor::ImageLoaderConfig const & castor3d::TextureSourceInfo::config |
( |
| ) |
const |
|
inline |
◆ createInfo()
ashes::ImageCreateInfo const & castor3d::TextureSourceInfo::createInfo |
( |
| ) |
const |
|
inline |
◆ folder()
castor::Path const & castor3d::TextureSourceInfo::folder |
( |
| ) |
const |
|
inline |
◆ generateMips()
bool castor3d::TextureSourceInfo::generateMips |
( |
| ) |
const |
|
inline |
◆ isBufferImage()
bool castor3d::TextureSourceInfo::isBufferImage |
( |
| ) |
const |
|
inline |
◆ isFileImage()
bool castor3d::TextureSourceInfo::isFileImage |
( |
| ) |
const |
|
inline |
◆ isRenderTarget()
bool castor3d::TextureSourceInfo::isRenderTarget |
( |
| ) |
const |
|
inline |
◆ isVulkanImage()
bool castor3d::TextureSourceInfo::isVulkanImage |
( |
| ) |
const |
|
inline |
◆ layersToTiles()
bool castor3d::TextureSourceInfo::layersToTiles |
( |
| ) |
const |
|
inline |
◆ name()
castor::String castor3d::TextureSourceInfo::name |
( |
| ) |
const |
|
inline |
◆ relative()
castor::Path const & castor3d::TextureSourceInfo::relative |
( |
| ) |
const |
|
inline |
◆ renderTarget()
RenderTargetRPtr castor3d::TextureSourceInfo::renderTarget |
( |
| ) |
const |
|
inline |
◆ sampler()
SamplerObs castor3d::TextureSourceInfo::sampler |
( |
| ) |
const |
|
inline |
◆ setBuffer()
void castor3d::TextureSourceInfo::setBuffer |
( |
castor::ByteArray |
data | ) |
|
|
inline |
◆ type()
castor::String const & castor3d::TextureSourceInfo::type |
( |
| ) |
const |
|
inline |
La documentation de cette classe a été générée à partir du fichier suivant :