8#ifdef VISUTWIN_HAS_VULKAN
10#include <vulkan/vulkan.h>
19 VulkanUniformBinder() =
default;
20 ~VulkanUniformBinder()
override =
default;
22 void resetPassState()
override;
24 [[nodiscard]]
bool isMaterialChanged(
const Material* mat)
const override;
26 [[nodiscard]] Texture* envAtlasTexture()
const override {
return _envAtlasTexture; }
27 [[nodiscard]] Texture* skyboxCubeMapTexture()
const override {
return _skyboxCubeMapTexture; }
28 [[nodiscard]] Texture* shadowTexture()
const override {
return _shadowTexture; }
29 [[nodiscard]] Texture* localShadowTexture0()
const override {
return _localShadowTexture0; }
30 [[nodiscard]] Texture* localShadowTexture1()
const override {
return _localShadowTexture1; }
31 [[nodiscard]] Texture* omniShadowCube0()
const override {
return _omniShadowCube0; }
32 [[nodiscard]] Texture* omniShadowCube1()
const override {
return _omniShadowCube1; }
35 Texture* _envAtlasTexture =
nullptr;
36 Texture* _skyboxCubeMapTexture =
nullptr;
37 Texture* _shadowTexture =
nullptr;
38 Texture* _localShadowTexture0 =
nullptr;
39 Texture* _localShadowTexture1 =
nullptr;
40 Texture* _omniShadowCube0 =
nullptr;
41 Texture* _omniShadowCube1 =
nullptr;
43 bool _materialBoundThisPass =
false;
44 const Material* _lastBoundMaterial =
nullptr;