INNER CODE UNIT · C++
index
asc-community/VulkanAbstractionLayer · VulkanAbstractionLayer/DescriptorBinding.cpp:289
size_t index = this->AllocateBinding(*samplerToResolve.SamplerHandle);
this->descriptorWrites.push_back({
samplerToResolve.Type,
samplerToResolve.Binding,
uint32_t(index),
uint32_t(1)
});
}
}
bool IsBufferType(UniformType type)
{
switch (type)
{
case UniformType::UNIFORM_TEXEL_BUFFER:
case UniformType::STORAGE_TEXEL_BUFFER:
case UniformType::UNIFORM_BUFFER: