Vulkan Device Memory

摘要: 1、通过下面的接口,可以获得显卡支持的所有内存类型; MemoryType的类型如下: 2、引用索引3对内存的描述 我们可以通过调用vkGetPhysicalDeviceMemoryProperties查询应用可使用的内存。它会返回请求大小的一个或多个内存堆,或者请求属性的一种或多种内存类型。每种内 阅读全文
posted @ 2020-02-07 21:50 KHacker 阅读(1327) 评论(0) 推荐(0)

Vulkan SDK 之 DrawCube

摘要: Waiting for a Swapchain Buffer Beginning the Render Pass Bind the Pipeline Bind the Descriptor Sets Bind the Vertex Buffer Set the Viewport and Scisso 阅读全文
posted @ 2020-02-07 10:41 KHacker 阅读(226) 评论(0) 推荐(0)

Vulkan SDK 之 Graphics Pipeline

摘要: A graphics pipeline consists of shader stages, a pipeline layout, a render pass, and fixed-function pipeline stages. Dynamic State A dynamic pipeline 阅读全文
posted @ 2020-02-07 09:52 KHacker 阅读(503) 评论(0) 推荐(0)

Vulkan SDK之Vertex Buffer

摘要: A vertex buffer is a CPU-visible and GPU-visible buffer that contains the vertex data that describes the geometry of the object(s) you wish to render. 阅读全文
posted @ 2020-02-07 09:07 KHacker 阅读(198) 评论(0) 推荐(0)

Vulkan SDK之 FrameBuffer

摘要: The Vulkan Framebuffer Framebuffers represent a collection of memory attachments that are used by a render pass instance. Examples of these memory att 阅读全文
posted @ 2020-02-07 08:51 KHacker 阅读(290) 评论(0) 推荐(0)

Vulkan SDK 之 Shaders

摘要: Compiling GLSL Shaders into SPIR-V 1、SPIR-V 是vulkan的底层shader语言。GLSL可以通过相关接口转换为SPIR-V。 Creating Vulkan Shader Modules The Microsoft open source DXC com 阅读全文
posted @ 2020-02-07 08:40 KHacker 阅读(296) 评论(0) 推荐(0)