#include <GBuffer.hpp>
|
C3D_API TexturePtr | doCreateTexture (crg::ResourceHandler &handler, castor::String const &name, VkImageCreateFlags createFlags, VkExtent3D const &size, uint32_t layerCount, uint32_t mipLevels, VkFormat format, VkImageUsageFlags usageFlags, VkBorderColor const &borderColor) const |
|
template<typename TextureEnumT > |
TextureArray | doCreateTextures (crg::ResourceHandler &handler, std::array< TexturePtr, size_t(TextureEnumT::eCount) > const &inputs, castor::String const &prefix, VkImageCreateFlags createFlags, castor::Size const &size, uint32_t layerCount=1u) const |
| Initialise les textures du g-buffer 2D ou 2D array. Plus de détails...
|
|
template<typename TextureEnumT > |
TextureArray | doCreateTextures (crg::ResourceHandler &handler, std::array< TexturePtr, size_t(TextureEnumT::eCount) > const &inputs, castor::String const &prefix, VkImageCreateFlags createFlags, VkExtent3D const &size) const |
| Initialise les textures du g-buffer 3D. Plus de détails...
|
|
◆ GBufferBase()
C3D_API castor3d::GBufferBase::GBufferBase |
( |
RenderDevice const & |
device, |
|
|
castor::String |
name |
|
) |
| |
|
explicit |
◆ doCreateTexture()
C3D_API TexturePtr castor3d::GBufferBase::doCreateTexture |
( |
crg::ResourceHandler & |
handler, |
|
|
castor::String const & |
name, |
|
|
VkImageCreateFlags |
createFlags, |
|
|
VkExtent3D const & |
size, |
|
|
uint32_t |
layerCount, |
|
|
uint32_t |
mipLevels, |
|
|
VkFormat |
format, |
|
|
VkImageUsageFlags |
usageFlags, |
|
|
VkBorderColor const & |
borderColor |
|
) |
| const |
|
protected |
◆ doCreateTextures() [1/2]
template<typename TextureEnumT >
TextureArray castor3d::GBufferBase::doCreateTextures |
( |
crg::ResourceHandler & |
handler, |
|
|
std::array< TexturePtr, size_t(TextureEnumT::eCount) > const & |
inputs, |
|
|
castor::String const & |
prefix, |
|
|
VkImageCreateFlags |
createFlags, |
|
|
castor::Size const & |
size, |
|
|
uint32_t |
layerCount = 1u |
|
) |
| const |
|
inlineprotected |
◆ doCreateTextures() [2/2]
template<typename TextureEnumT >
TextureArray castor3d::GBufferBase::doCreateTextures |
( |
crg::ResourceHandler & |
handler, |
|
|
std::array< TexturePtr, size_t(TextureEnumT::eCount) > const & |
inputs, |
|
|
castor::String const & |
prefix, |
|
|
VkImageCreateFlags |
createFlags, |
|
|
VkExtent3D const & |
size |
|
) |
| const |
|
inlineprotected |
◆ m_device
La documentation de cette classe a été générée à partir du fichier suivant :