added CheckColorAttachmentFormatSupport/CheckDepthStencilAttachFormatSupport in GPUDevice
This commit is contained in:
parent
ceb4e3e5f3
commit
dc374c0fc7
@ -191,6 +191,9 @@ public: //Texture
|
|||||||
|
|
||||||
bool CheckTextureFormatSupport(const VkFormat fmt,ImageTiling tiling=ImageTiling::Optimal)const{return CheckFormatSupport(fmt,VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT,tiling);}
|
bool CheckTextureFormatSupport(const VkFormat fmt,ImageTiling tiling=ImageTiling::Optimal)const{return CheckFormatSupport(fmt,VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT,tiling);}
|
||||||
|
|
||||||
|
bool CheckColorAttachmentFormatSupport(const VkFormat fmt)const{return CheckFormatSupport(fmt,VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT,ImageTiling::Optimal);}
|
||||||
|
bool CheckDepthStencilAttachFormatSupport(const VkFormat fmt)const{return CheckFormatSupport(fmt,VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT,ImageTiling::Optimal);}
|
||||||
|
|
||||||
Texture2D *CreateTexture2D(TextureData *);
|
Texture2D *CreateTexture2D(TextureData *);
|
||||||
Texture2D *CreateTexture2D(TextureCreateInfo *ci);
|
Texture2D *CreateTexture2D(TextureCreateInfo *ci);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user