0. PipelineWorkflowDefinition: We provide the GPU with the data that we need to draw and store them into the cache of GPU.
1. Vertex Attributes1glVertexAttribPointer
[!note] Clarification of vertexvertex is not just about position,it can contain bunch of things.Like color and other things.
2. Buffer layoutThis things shoudl be done before the bind.Defintion: Just like the normal cpp code,we need to tell the shader what is the thing that each part of the cache represents.
Code achievements
glV ...
1. Course notesInitialization[[OpenGL|1. Welcome to OpenGL]][[4. Vertex Buffers and Draw a Triangle in OpenGL]][[5. Vertex Attributes and Layouts in OpenGL]][[5.5 A workflow of generating a graphics]]
Shader[[6. How Shaders Work in OpenGL]][[7. Writing a Shader in OpenGL]]
2. Useful toolsThe recommended doc for OpenGL development
1docker run -di --name=jenkins -p 8080:8080 -v /mydata/jenkins_home/:/ver/jenkins_home jenkins/jenkins:lts
1. 简单介绍以这段例子为例,当我们在宿主机访问localhost:8080时,也就是对应到容器内部的8080端口(这是某个容器服务默认的监听端口)
2. 如何获得监听端口方法 1:查看官方文档通常,官方文档或镜像描述会提供信息。例如,Jenkins 官方镜像文档会说明它默认监听在 8080 端口。你可以在 Docker Hub 或相关项目的文档中查找这些信息。
方法 2:检查 Dockerfile如果你有容器镜像的 Dockerfile,查看其中的 EXPOSE 指令。EXPOSE 指令声明了容器内服务监听的端口。示例:
1EXPOSE 8080
这表示该镜像的服务在 8080 端口监听。
方法 3:使用 docker inspect 命令可以使用 docker inspect 命令查看容器的详细信息,其中包括端口映射和容器内部的端口配置。示例:
1docker insp ...