|
VulkanRaytracingCycles 0.0.0
Cycles Render Engine With VulkanRaytracingShaderModules. ( Experiment , in progress)
|
#include <ImagesVk.h>
Public Member Functions | |
| ImagesVk (VkCommandPool cmdPool) | |
| ImagesVk () | |
| ~ImagesVk () | |
| void | dealloc () |
| template<class T > | |
| bool | getImage (T &iach, MIVSIvk &_) |
| template<class T > | |
| MIVSIvk & | createFromRaw (ImmidiateCmd< T > &cmder, std::string Name, void *src, uint32_t w, uint32_t h, VkImageLayout dstlayout=VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL) |
| bool | create2D (MIVSIvk &_, VkFormat format, VkImageUsageFlags flag=VK_IMAGE_USAGE_TRANSFER_DST_BIT|VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_SAMPLED_BIT, VkMemoryPropertyFlags properties=VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) |
| bool | createCubeMap (MIVSIvk &_, VkFormat format) |
| bool | create2DArray (MIVSIvk &_, VkFormat format) |
| template<class Mem > | |
| bool | create2DStorageArray (Mem &_, VkFormat format) |
| template<class T > | |
| bool | createCubeMapFromKtx (ImmidiateCmd< T > &cmder, Iache &iach) |
| template<class T > | |
| bool | createFromKtx (ImmidiateCmd< T > &cmder, std::string key, Iache &iach) |
| template<class T > | |
| bool | createFromFile (ImmidiateCmd< T > &cmder, std::string key, Iache &iach) |
| template<class T > | |
| bool | createFromFiles (ImmidiateCmd< T > &cmder, std::vector< std::string > keys, Iache &iach) |
| template<class T > | |
| bool | createFromFileStorage (ImmidiateCmd< T > &cmder, std::string key, Iache &iach) |
| VkPipelineShaderStageCreateInfo | loadShader (std::string fileName, VkShaderStageFlagBits stage, PvSvk &p) |
| template<class T > | |
| bool | Canvas2D (MIVvk &Color, MIVvk &Depth, T *cvs) |
| template<class T > | |
| bool | $Delete (T *hach) |
| template<class T > | |
| bool | $DeleteMIVSI (T *hach) |
Protected Attributes | |
| VkCommandPool | cmdPool |
Definition at line 652 of file ImagesVk.h.
| ImagesVk::ImagesVk | ( | VkCommandPool | cmdPool | ) |
Definition at line 54 of file ImagesVk.cpp.
| ImagesVk::ImagesVk | ( | ) |
Definition at line 57 of file ImagesVk.cpp.
| ImagesVk::~ImagesVk | ( | ) |
Definition at line 63 of file ImagesVk.cpp.
|
inline |
Definition at line 1186 of file ImagesVk.h.
|
inline |
Definition at line 1196 of file ImagesVk.h.
VK_IMAGE_VIEW_TYPE_2D_ARRAY;
Definition at line 1020 of file ImagesVk.h.
| bool ImagesVk::create2D | ( | MIVSIvk & | _, |
| VkFormat | format, | ||
| VkImageUsageFlags | flag = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT, |
||
| VkMemoryPropertyFlags | properties = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
||
| ) |
VK_FORMAT_R8_UNORM;
Definition at line 74 of file ImagesVk.cpp.
| bool ImagesVk::create2DArray | ( | MIVSIvk & | _, |
| VkFormat | format | ||
| ) |
Definition at line 147 of file ImagesVk.cpp.
Definition at line 709 of file ImagesVk.h.
| bool ImagesVk::createCubeMap | ( | MIVSIvk & | _, |
| VkFormat | format | ||
| ) |
VK_FORMAT_R8_UNORM;
Definition at line 207 of file ImagesVk.cpp.
|
inline |
Definition at line 769 of file ImagesVk.h.
|
inline |
create2D(_, VK_FORMAT_R32G32B32A32_SFLOAT); cmder.bridgeMap(_, (char*)loader.images->packed, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
Definition at line 896 of file ImagesVk.h.
|
inline |
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
Definition at line 932 of file ImagesVk.h.
|
inline |
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
Definition at line 975 of file ImagesVk.h.
|
inline |
ktx_size_t ktxTextureSize = ktxTexture_GetSize(ktxTexture);
cache[filename] = _;
Definition at line 838 of file ImagesVk.h.
|
inline |
Definition at line 676 of file ImagesVk.h.
| void ImagesVk::dealloc | ( | ) |
Definition at line 65 of file ImagesVk.cpp.
|
inline |
Definition at line 667 of file ImagesVk.h.
| VkPipelineShaderStageCreateInfo ImagesVk::loadShader | ( | std::string | fileName, |
| VkShaderStageFlagBits | stage, | ||
| PvSvk & | p | ||
| ) |
Definition at line 282 of file ImagesVk.cpp.
|
protected |
Definition at line 656 of file ImagesVk.h.