|
static C3D_API TextureUnit | doCreateTexture (Engine &engine, castor::String const &name, VkImageCreateFlags createFlags, VkExtent3D const &size, uint32_t layerCount, uint32_t mipLevels, VkFormat format, VkImageUsageFlags usageFlags, VkBorderColor const &borderColor) |
|
template<typename TextureEnumT > |
static C3D_API TextureUnitArray | doCreateTextures (Engine &engine, std::array< TextureUnit const *, size_t(TextureEnumT::eCount) > const &inputs, castor::String const &prefix, VkImageCreateFlags createFlags, castor::Size const &size, uint32_t layerCount=1u) |
| Initialise les textures du g-buffer 2D ou 2D array. Plus de détails...
|
|
template<typename TextureEnumT > |
static C3D_API TextureUnitArray | doCreateTextures (Engine &engine, std::array< TextureUnit const *, size_t(TextureEnumT::eCount) > const &inputs, castor::String const &prefix, VkImageCreateFlags createFlags, VkExtent3D const &size) |
| Initialise les textures du g-buffer 3D. Plus de détails...
|
|
◆ Textures
◆ GBufferBase()
C3D_API castor3d::GBufferBase::GBufferBase |
( |
castor::String |
name | ) |
|
|
inlineexplicit |
◆ doCreateTexture()
static C3D_API TextureUnit castor3d::GBufferBase::doCreateTexture |
( |
Engine & |
engine, |
|
|
castor::String const & |
name, |
|
|
VkImageCreateFlags |
createFlags, |
|
|
VkExtent3D const & |
size, |
|
|
uint32_t |
layerCount, |
|
|
uint32_t |
mipLevels, |
|
|
VkFormat |
format, |
|
|
VkImageUsageFlags |
usageFlags, |
|
|
VkBorderColor const & |
borderColor |
|
) |
| |
|
staticprotected |
◆ doCreateTextures() [1/2]
template<typename TextureEnumT >
static C3D_API TextureUnitArray castor3d::GBufferBase::doCreateTextures |
( |
Engine & |
engine, |
|
|
std::array< TextureUnit const *, size_t(TextureEnumT::eCount) > const & |
inputs, |
|
|
castor::String const & |
prefix, |
|
|
VkImageCreateFlags |
createFlags, |
|
|
castor::Size const & |
size, |
|
|
uint32_t |
layerCount = 1u |
|
) |
| |
|
inlinestaticprotected |
◆ doCreateTextures() [2/2]
template<typename TextureEnumT >
static C3D_API TextureUnitArray castor3d::GBufferBase::doCreateTextures |
( |
Engine & |
engine, |
|
|
std::array< TextureUnit const *, size_t(TextureEnumT::eCount) > const & |
inputs, |
|
|
castor::String const & |
prefix, |
|
|
VkImageCreateFlags |
createFlags, |
|
|
VkExtent3D const & |
size |
|
) |
| |
|
inlinestaticprotected |
La documentation de cette classe a été générée à partir du fichier suivant :