wip
This commit is contained in:
parent
abc1d7da9f
commit
0c6934023b
4 changed files with 59 additions and 64 deletions
|
|
@ -38,7 +38,7 @@ namespace Crafter {
|
|||
public:
|
||||
VkSampler textureSampler;
|
||||
VkDescriptorImageInfo imageInfo;
|
||||
ComponentRefOwning<VulkanTexture<PixelType>> texture;
|
||||
VulkanTexture<PixelType>* texture;
|
||||
TextureShader(VulkanTexture<PixelType>* texture) : texture(texture) {
|
||||
VkSamplerCreateInfo samplerInfo{};
|
||||
samplerInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue