added newly CreateSampler(Texture *) function at GPUDevice/RenderResource

This commit is contained in:
2021-11-22 14:06:04 +08:00
parent 86119f877b
commit b5d344f3a9
4 changed files with 56 additions and 3 deletions

View File

@@ -99,6 +99,7 @@ public: //Material
RenderableInstance *CreateRenderableInstance(Renderable *r,MaterialInstance *mi,Pipeline *p);
Sampler * CreateSampler(VkSamplerCreateInfo *sci=nullptr);
Sampler * CreateSampler(Texture *);
public: //texture