forked from Dynamitos/Seele
Fixing sampler parameters
This commit is contained in:
1 parent
1efb696d92
commit
8375a837c8
5 files changed
+75
-41
No files matched your search
@@ -106,7 +106,7 @@ DEFINE_REF(DestructionManager)
|
||||
|
||||
class SamplerHandle : public CommandBoundResource {
|
||||
public:
|
||||
SamplerHandle(PGraphics graphics, VkSamplerCreateInfo createInfo);
|
||||
SamplerHandle(PGraphics graphics, SamplerCreateInfo createInfo);
|
||||
virtual ~SamplerHandle();
|
||||
VkSampler sampler;
|
||||
};
|
||||
@@ -114,7 +114,7 @@ DEFINE_REF(SamplerHandle)
|
||||
|
||||
class Sampler : public Gfx::Sampler {
|
||||
public:
|
||||
Sampler(PGraphics graphics, VkSamplerCreateInfo createInfo);
|
||||
Sampler(PGraphics graphics, SamplerCreateInfo createInfo);
|
||||
virtual ~Sampler();
|
||||
PSamplerHandle getHandle() const { return handle; }
|
||||
VkSampler getSampler() const { return handle->sampler; }
|
||||
|
||||
Reference in new issue
Block a user