INNER CODE UNIT · C++

index

asc-community/VulkanAbstractionLayer · VulkanAbstractionLayer/DescriptorBinding.cpp:277

				index = this->AllocateBinding(buffer.get(), bufferToResolve.Type);

			this->descriptorWrites.push_back({
				bufferToResolve.Type,
				bufferToResolve.Binding,
				uint32_t(index + 1 - buffers.size()),
				uint32_t(buffers.size())
			});
		}

		for (const auto& samplerToResolve : this->samplersToResolve)
		{
			size_t index = this->AllocateBinding(*samplerToResolve.SamplerHandle);

			this->descriptorWrites.push_back({
				samplerToResolve.Type,
				samplerToResolve.Binding,
				uint32_t(index),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…