Searched refs:AsGraphics (Results 1 – 3 of 3) sorted by relevance
183 r = vk_pipeline->AsGraphics()->Initialize(pipeline->GetFramebufferWidth(), in CreatePipeline()219 info.vk_pipeline->AsGraphics()->SetIndexBuffer(buf); in CreatePipeline()431 return info.vk_pipeline->AsGraphics()->SetClearColor( in DoClearColor()440 return info.vk_pipeline->AsGraphics()->SetClearStencil(command->GetValue()); in DoClearStencil()448 return info.vk_pipeline->AsGraphics()->SetClearDepth(command->GetValue()); in DoClearDepth()456 return info.vk_pipeline->AsGraphics()->Clear(); in DoClear()464 auto* graphics = info.vk_pipeline->AsGraphics(); in DoDrawRect()529 auto* graphics = info.vk_pipeline->AsGraphics(); in DoDrawGrid()616 return info.vk_pipeline->AsGraphics()->Draw(command, in DoDrawArrays()649 info.vk_pipeline->AsGraphics()->SetPatchControlPoints( in DoPatchParameterVertices()
49 GraphicsPipeline* AsGraphics();
70 GraphicsPipeline* Pipeline::AsGraphics() { in AsGraphics() function in amber::vulkan::Pipeline