|
HDK
|
#include <RV_VKImage.h>
Inheritance diagram for RV_VKImageCreateInfo:Protected Member Functions | |
| RV_VKImageCreateInfo (const RV_VKImageCreateInfo &)=default | |
| RV_VKImageCreateInfo & | operator= (const RV_VKImageCreateInfo &)=delete |
| bool | isValidForLinearTiling () const |
| void | addNext (VkBaseOutStructure *p) |
| virtual RV_MemType | getAllocType (RV_Instance *inst) |
| Setup allocation info for memory. More... | |
Protected Attributes | |
| uint32_t | mySamples = 0 |
| int | myMaxLevels = 1 |
| bool | myUseLinearTiling = false |
| RV_MemType | myMemType = RV_MEM_AUTO |
| RV_ImageDim | myRVImageType = RV_IMAGE_2D |
| RV_TextureSwizzle | myTextureSwizzle [4] |
| fpreal32 | myMinLOD = 0.0 |
| fpreal32 | myMaxLOD = VK_LOD_CLAMP_NONE |
| bool | myIsNormalized = false |
| bool | myIsTexelSampled = false |
| bool | myUsageAttachmentBit = true |
| bool | myUsageSampledBit = true |
| bool | myUsageStorageBit = false |
| bool | myUsageSampleLocations = false |
| bool | myCompareEnable = false |
| RE_ZFunction | myCompareOp = RE_ZALWAYS |
| RV_TextureFilter | myMagFilterMode = RV_FILTER_LINEAR |
| RV_TextureFilter | myMinFilterMode = RV_FILTER_LINEAR |
| RV_TextureMipMode | myMipMode = RV_MIPMAP_LINEAR |
| RV_TextureWrap | myWrapU = RV_TEX_WRAP_REPEAT |
| RV_TextureWrap | myWrapV = RV_TEX_WRAP_REPEAT |
| RV_TextureWrap | myWrapW = RV_TEX_WRAP_REPEAT |
| UT_Vector4F | myBorderColor = {0.f, 0.f, 0.f, 0.f} |
| VkImageCreateInfo | myVkCreateInfo |
Friends | |
| class | RV_VKImage |
Class for Setting up Image Info Should be trivially copiable, so it can be duplicated or passed around Once a VkImage is created, it is immutable so changing a parameter means creating a new image
Definition at line 49 of file RV_VKImage.h.
|
default |
|
virtual |
|
protecteddefault |
|
inlineprotected |
Extend Image Create Info struct. Used by subclasses to create different types of images
Definition at line 248 of file RV_VKImage.h.
|
inlinevirtual |
Reimplemented in RV_VKInteropImageCreateInfo.
Definition at line 231 of file RV_VKImage.h.
|
virtual |
Finalize Create Info struct before being passed to Vulkan API, and perform any final checks. To Be called by Vulkan Image allocate function. Returns false if any checks fail
Reimplemented in RV_VKInteropImageCreateInfo.
|
protectedvirtual |
Setup allocation info for memory.
Reimplemented in RV_VKInteropImageCreateInfo.
|
inline |
Definition at line 211 of file RV_VKImage.h.
|
inline |
Definition at line 216 of file RV_VKImage.h.
|
inline |
Definition at line 90 of file RV_VKImage.h.
|
inline |
Definition at line 67 of file RV_VKImage.h.
| VkImageSubresourceRange RV_VKImageCreateInfo::getFullSubRes | ( | ) | const |
Returns a vulkan subresource object for the full image.
| RV_GPUType RV_VKImageCreateInfo::getGPUType | ( | ) | const |
|
inline |
Definition at line 88 of file RV_VKImage.h.
|
inline |
The Vulkan image type.
Definition at line 57 of file RV_VKImage.h.
|
inline |
Definition at line 108 of file RV_VKImage.h.
|
inline |
Definition at line 120 of file RV_VKImage.h.
|
inline |
Definition at line 117 of file RV_VKImage.h.
|
inline |
Definition at line 206 of file RV_VKImage.h.
|
inline |
The RV image type.
Definition at line 59 of file RV_VKImage.h.
|
inline |
Definition at line 99 of file RV_VKImage.h.
|
inline |
Definition at line 137 of file RV_VKImage.h.
|
inline |
Definition at line 139 of file RV_VKImage.h.
|
inline |
Definition at line 141 of file RV_VKImage.h.
|
inline |
Definition at line 174 of file RV_VKImage.h.
|
inline |
Definition at line 172 of file RV_VKImage.h.
|
inline |
Definition at line 170 of file RV_VKImage.h.
|
inline |
Definition at line 168 of file RV_VKImage.h.
|
inline |
Definition at line 148 of file RV_VKImage.h.
|
inline |
Definition at line 150 of file RV_VKImage.h.
|
inline |
Definition at line 152 of file RV_VKImage.h.
|
inline |
Definition at line 179 of file RV_VKImage.h.
|
inline |
Definition at line 184 of file RV_VKImage.h.
|
inline |
Definition at line 195 of file RV_VKImage.h.
|
inline |
Definition at line 189 of file RV_VKImage.h.
|
inline |
Definition at line 201 of file RV_VKImage.h.
| int RV_VKImageCreateInfo::getVectorSize | ( | ) | const |
|
inline |
Access the vulkan creation structure for this image.
Definition at line 220 of file RV_VKImage.h.
|
inline |
Definition at line 86 of file RV_VKImage.h.
|
protected |
|
protecteddelete |
|
inline |
Definition at line 209 of file RV_VKImage.h.
|
inline |
Definition at line 214 of file RV_VKImage.h.
Set the vulkan image format. RV.
Definition at line 66 of file RV_VKImage.h.
| void RV_VKImageCreateInfo::setImageType | ( | RV_ImageDim | img_type | ) |
Define if the image is 1D, 2D, or 3D.
Define the number of layers in a 1D or 2D array.
Definition at line 103 of file RV_VKImage.h.
Set the maximum number of mipmap levels.
Definition at line 112 of file RV_VKImage.h.
|
inline |
Definition at line 204 of file RV_VKImage.h.
Define the number of samples in a multisampled 2D image.
Definition at line 94 of file RV_VKImage.h.
Defines the size of the image (width, height, depth). 1D and 2D images ignore some of the sizes.
Definition at line 76 of file RV_VKImage.h.
|
inline |
Set the texture filter for texture scales above 1.
Definition at line 128 of file RV_VKImage.h.
|
inline |
Set the texture filter for texture scales below 1.
Definition at line 131 of file RV_VKImage.h.
|
inline |
Set the mipmapping mode - DISABLED, NEAREST mipmap, or LINEAR blend.
Definition at line 134 of file RV_VKImage.h.
|
inline |
Set the texture swizzle for each component, when sampled in a shader Cannot be combined with storage images or framebuffer attachment images
Definition at line 157 of file RV_VKImage.h.
|
inline |
Set the wrapping mode when uv is outside [0,1]:REPEAT,CLAMP,BORDER,MIRROR.
Definition at line 145 of file RV_VKImage.h.
|
inline |
Definition at line 177 of file RV_VKImage.h.
|
inline |
Definition at line 182 of file RV_VKImage.h.
|
inline |
Definition at line 193 of file RV_VKImage.h.
|
inline |
Definition at line 187 of file RV_VKImage.h.
|
inline |
Use linear tiling (true) or optimal tiling. Not all types support linear.
Definition at line 199 of file RV_VKImage.h.
|
friend |
Definition at line 312 of file RV_VKImage.h.
|
protected |
Definition at line 291 of file RV_VKImage.h.
|
protected |
Definition at line 283 of file RV_VKImage.h.
|
protected |
Definition at line 284 of file RV_VKImage.h.
|
protected |
Definition at line 277 of file RV_VKImage.h.
|
protected |
Definition at line 278 of file RV_VKImage.h.
|
protected |
Definition at line 285 of file RV_VKImage.h.
|
protected |
Definition at line 261 of file RV_VKImage.h.
|
protected |
Definition at line 276 of file RV_VKImage.h.
|
protected |
Definition at line 264 of file RV_VKImage.h.
|
protected |
Definition at line 286 of file RV_VKImage.h.
|
protected |
Definition at line 275 of file RV_VKImage.h.
|
protected |
Definition at line 287 of file RV_VKImage.h.
|
protected |
Definition at line 265 of file RV_VKImage.h.
|
protected |
Definition at line 260 of file RV_VKImage.h.
|
protected |
Definition at line 266 of file RV_VKImage.h.
|
protected |
Definition at line 279 of file RV_VKImage.h.
|
protected |
Definition at line 280 of file RV_VKImage.h.
|
protected |
Definition at line 282 of file RV_VKImage.h.
|
protected |
Definition at line 281 of file RV_VKImage.h.
|
protected |
Definition at line 263 of file RV_VKImage.h.
|
protected |
Definition at line 294 of file RV_VKImage.h.
|
protected |
Definition at line 288 of file RV_VKImage.h.
|
protected |
Definition at line 289 of file RV_VKImage.h.
|
protected |
Definition at line 290 of file RV_VKImage.h.