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