#include <TextureSource.hpp>
|
| | TextureSource (castor::Image &image, castor::String name, castor::ImageLayout layout) |
| | The texture buffer. More...
|
| |
| void | update (VkExtent3D const &extent, VkFormat format, uint32_t mipLevels, uint32_t arrayLayers) |
| |
◆ TextureSource()
| castor3d::TextureSource::TextureSource |
( |
castor::Image & |
image, |
|
|
castor::String |
name, |
|
|
castor::ImageLayout |
layout |
|
) |
| |
|
inlineexplicit |
The texture buffer.
- Parameters
-
| [in] | image | The CPU image. |
| [in] | name | The source name. |
| [in] | layout | The CPU image layout. |
◆ getBaseLayer()
| uint32_t castor3d::TextureSource::getBaseLayer |
( |
| ) |
const |
|
inline |
◆ getBaseLevel()
| uint32_t castor3d::TextureSource::getBaseLevel |
( |
| ) |
const |
|
inline |
◆ getBuffer() [1/2]
| castor::ImageLayout::Buffer castor3d::TextureSource::getBuffer |
( |
| ) |
|
|
inline |
◆ getBuffer() [2/2]
| castor::ImageLayout::ConstBuffer castor3d::TextureSource::getBuffer |
( |
| ) |
const |
|
inline |
◆ getDepth()
| uint32_t castor3d::TextureSource::getDepth |
( |
| ) |
const |
|
inline |
◆ getLayerCount()
| uint32_t castor3d::TextureSource::getLayerCount |
( |
| ) |
const |
|
inline |
◆ getLevelCount()
| uint32_t castor3d::TextureSource::getLevelCount |
( |
| ) |
const |
|
inline |
◆ hasBuffer()
| bool castor3d::TextureSource::hasBuffer |
( |
| ) |
const |
|
inline |
◆ toString()
| castor::String const & castor3d::TextureSource::toString |
( |
| ) |
const |
|
inline |
◆ update()
| void castor3d::TextureSource::update |
( |
VkExtent3D const & |
extent, |
|
|
VkFormat |
format, |
|
|
uint32_t |
mipLevels, |
|
|
uint32_t |
arrayLayers |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: