|
virtual bool | Initialize (const Grindstone::GraphicsAPI::Core::CreateInfo &ci) override |
|
virtual void | RegisterWindow (Window *window) override |
|
QueueFamilyIndices | FindQueueFamilies (VkPhysicalDevice device) |
|
uint32_t | FindMemoryType (uint32_t typeFilter, VkMemoryPropertyFlags properties) |
|
virtual VkInstance | GetInstance () |
|
virtual VkDevice | GetDevice () |
|
virtual VkPhysicalDevice | GetPhysicalDevice () |
|
virtual VkCommandBuffer | BeginSingleTimeCommands () |
|
virtual uint32_t | GetGraphicsFamily () |
|
virtual void | EndSingleTimeCommands (VkCommandBuffer commandBuffer) |
|
VkCommandPool | GetGraphicsCommandPool () const |
|
void | NameObject (VkObjectType objectType, void *object, const char *objectName) |
|
virtual const char * | GetVendorName () const override |
|
virtual const char * | GetAdapterName () const override |
|
virtual const char * | GetAPIName () const override |
|
virtual const char * | GetAPIVersion () const override |
|
virtual void | AdjustPerspective (float *perspective) override |
|
virtual void | DeleteRenderTarget (GraphicsAPI::RenderTarget *ptr) override |
|
virtual void | DeleteDepthStencilTarget (GraphicsAPI::DepthStencilTarget *ptr) override |
|
virtual void | DeleteFramebuffer (GraphicsAPI::Framebuffer *ptr) override |
|
virtual void | DeleteVertexBuffer (GraphicsAPI::VertexBuffer *ptr) override |
|
virtual void | DeleteIndexBuffer (GraphicsAPI::IndexBuffer *ptr) override |
|
virtual void | DeleteUniformBuffer (GraphicsAPI::UniformBuffer *ptr) override |
|
virtual void | DeleteGraphicsPipeline (GraphicsAPI::GraphicsPipeline *ptr) override |
|
virtual void | DeleteComputePipeline (GraphicsAPI::ComputePipeline *ptr) override |
|
virtual void | DeleteRenderPass (GraphicsAPI::RenderPass *ptr) override |
|
virtual void | DeleteTexture (GraphicsAPI::Texture *ptr) override |
|
virtual void | DeleteDescriptorSet (GraphicsAPI::DescriptorSet *ptr) override |
|
virtual void | DeleteDescriptorSetLayout (GraphicsAPI::DescriptorSetLayout *ptr) override |
|
virtual void | DeleteCommandBuffer (GraphicsAPI::CommandBuffer *ptr) override |
|
virtual void | DeleteVertexArrayObject (GraphicsAPI::VertexArrayObject *ptr) override |
|
virtual GraphicsAPI::Framebuffer * | CreateFramebuffer (const GraphicsAPI::Framebuffer::CreateInfo &ci) override |
|
virtual GraphicsAPI::RenderPass * | CreateRenderPass (const GraphicsAPI::RenderPass::CreateInfo &ci) override |
|
virtual GraphicsAPI::GraphicsPipeline * | CreateGraphicsPipeline (const GraphicsAPI::GraphicsPipeline::CreateInfo &ci) override |
|
virtual GraphicsAPI::ComputePipeline * | CreateComputePipeline (const GraphicsAPI::ComputePipeline::CreateInfo &ci) override |
|
virtual GraphicsAPI::CommandBuffer * | CreateCommandBuffer (const GraphicsAPI::CommandBuffer::CreateInfo &ci) override |
|
virtual GraphicsAPI::VertexArrayObject * | CreateVertexArrayObject (const GraphicsAPI::VertexArrayObject::CreateInfo &ci) override |
|
virtual GraphicsAPI::VertexBuffer * | CreateVertexBuffer (const GraphicsAPI::VertexBuffer::CreateInfo &ci) override |
|
virtual GraphicsAPI::IndexBuffer * | CreateIndexBuffer (const GraphicsAPI::IndexBuffer::CreateInfo &ci) override |
|
virtual GraphicsAPI::UniformBuffer * | CreateUniformBuffer (const GraphicsAPI::UniformBuffer::CreateInfo &ci) override |
|
virtual GraphicsAPI::Texture * | CreateCubemap (const GraphicsAPI::Texture::CubemapCreateInfo &ci) override |
|
virtual GraphicsAPI::Texture * | CreateTexture (const GraphicsAPI::Texture::CreateInfo &ci) override |
|
virtual GraphicsAPI::DescriptorSet * | CreateDescriptorSet (const GraphicsAPI::DescriptorSet::CreateInfo &ci) override |
|
virtual GraphicsAPI::DescriptorSetLayout * | CreateDescriptorSetLayout (const GraphicsAPI::DescriptorSetLayout::CreateInfo &ci) override |
|
virtual GraphicsAPI::RenderTarget * | CreateRenderTarget (const GraphicsAPI::RenderTarget::CreateInfo &rt) override |
|
virtual GraphicsAPI::RenderTarget * | CreateRenderTarget (const GraphicsAPI::RenderTarget::CreateInfo *rt, uint32_t rc, bool cube=false) override |
|
virtual GraphicsAPI::DepthStencilTarget * | CreateDepthStencilTarget (const GraphicsAPI::DepthStencilTarget::CreateInfo &rt) override |
|
virtual bool | ShouldUseImmediateMode () const override |
|
virtual bool | SupportsCommandBuffers () const override |
|
virtual bool | SupportsTesselation () const override |
|
virtual bool | SupportsGeometryShader () const override |
|
virtual bool | SupportsComputeShader () const override |
|
virtual bool | SupportsMultiDrawIndirect () const override |
|
virtual void | WaitUntilIdle () override |
|
virtual void | Clear (ClearMode mask, float clear_color[4], float clear_depth, uint32_t clear_stencil) override |
|
virtual void | BindGraphicsPipeline (GraphicsAPI::GraphicsPipeline *) override |
|
virtual void | BindVertexArrayObject (GraphicsAPI::VertexArrayObject *) override |
|
virtual void | DrawImmediateIndexed (GeometryType geom_type, bool largeBuffer, int32_t baseVertex, uint32_t indexOffsetPtr, uint32_t indexCount) override |
|
virtual void | DrawImmediateVertices (GeometryType geom_type, uint32_t base, uint32_t count) override |
|
virtual void | SetImmediateBlending (BlendOperation colorOp, BlendFactor colorSrc, BlendFactor colorDst, BlendOperation alphaOp, BlendFactor alphaSrc, BlendFactor alphaDst) override |
|
virtual void | EnableDepthWrite (bool state) override |
|
virtual void | SetColorMask (ColorMask mask) override |
|
API | GetAPI () const |
|
const char * | GetVendorNameFromID (uint32_t vendorID) |
|