|
PL_ALWAYS_INLINE vk::Image | GetImage () const |
|
PL_ALWAYS_INLINE vk::Format | GetImageFormat () const |
|
PL_ALWAYS_INLINE vk::ImageLayout | GetPreferredLayout () const |
|
PL_ALWAYS_INLINE vk::ImageLayout | GetPreferredLayout (vk::ImageLayout targetLayout) const |
|
PL_ALWAYS_INLINE vk::PipelineStageFlags | GetUsedByPipelineStage () const |
|
PL_ALWAYS_INLINE vk::AccessFlags | GetAccessMask () const |
|
PL_ALWAYS_INLINE plVulkanAllocation | GetAllocation () const |
|
PL_ALWAYS_INLINE const plVulkanAllocationInfo & | GetAllocationInfo () const |
|
PL_ALWAYS_INLINE bool | IsLinearLayout () const |
|
vk::Extent3D | GetMipLevelSize (plUInt32 uiMipLevel) const |
|
vk::ImageSubresourceRange | GetFullRange () const |
|
vk::ImageAspectFlags | GetAspectMask () const |
|
PL_ALWAYS_INLINE StagingMode | GetStagingMode () const |
|
PL_ALWAYS_INLINE plGALTextureHandle | GetStagingTexture () const |
|
PL_ALWAYS_INLINE plGALBufferHandle | GetStagingBuffer () const |
|
plUInt32 | ComputeSubResourceOffsets (plDynamicArray< SubResourceOffset > &out_subResourceOffsets) const |
|
PL_ALWAYS_INLINE | plGALResource (const plGALTextureCreationDescription &description) |
|
PL_ALWAYS_INLINE const plGALTextureCreationDescription & | GetDescription () const |
|
void | SetDebugName (const char *szName) const |
|
virtual const plGALResourceBase * | GetParentResource () const |
|
virtual | ~plRefCounted ()=default |
| Adds a virtual destructor.
|
|
| plRefCountingImpl ()=default |
| Constructor.
|
|
| plRefCountingImpl (const plRefCountingImpl &rhs) |
|
void | operator= (const plRefCountingImpl &rhs) |
|
plInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count.
|
|
plInt32 | ReleaseRef () const |
| Decrements the reference counter. Returns the new reference count.
|
|
bool | IsReferenced () const |
| Returns true if the reference count is greater than 0, false otherwise.
|
|
plInt32 | GetRefCount () const |
| Returns the current reference count.
|
|
|
static vk::Format | ComputeImageFormat (plGALDeviceVulkan *pDevice, plEnum< plGALResourceFormat > galFormat, vk::ImageCreateInfo &ref_createInfo, vk::ImageFormatListCreateInfo &ref_imageFormats, bool bStaging) |
|
static void | ComputeCreateInfo (plGALDeviceVulkan *pDevice, const plGALTextureCreationDescription &description, vk::ImageCreateInfo &ref_createInfo, vk::PipelineStageFlags &ref_stages, vk::AccessFlags &ref_access, vk::ImageLayout &ref_preferredLayout) |
|
static void | ComputeCreateInfoLinear (vk::ImageCreateInfo &ref_createInfo, vk::PipelineStageFlags &ref_stages, vk::AccessFlags &ref_access) |
|
static void | ComputeAllocInfo (bool bLinearCPU, plVulkanAllocationCreateInfo &ref_allocInfo) |
|
static StagingMode | ComputeStagingMode (plGALDeviceVulkan *pDevice, const plGALTextureCreationDescription &description, const vk::ImageCreateInfo &createInfo) |
|