void VulkanQuad::InitializeImpl (VkCommandBuffer uploadCommandBuffer)
{
    VulkanSample::InitializeImpl (uploadCommandBuffer);

    CreatePipelineStateObject ();
    CreateMeshBuffers (uploadCommandBuffer);
}
void VulkanTexturedQuad::InitializeImpl(VkCommandBuffer uploadCommandBuffer)
{
    VulkanSample::InitializeImpl(uploadCommandBuffer);

    CreateSampler ();
    CreateTexture (uploadCommandBuffer);
    CreateDescriptors ();
    CreatePipelineStateObject();
    CreateMeshBuffers(uploadCommandBuffer);
}
示例#3
0
rhi::IPipelineStateObject*	
Device::NewPipelineState(rhi::PipelineDesc const & desc, rhi::IPipelineLayout * ppl, rhi::EPipelineType type)
{
	return CreatePipelineStateObject(desc, ppl);
}