Graphics
v0.0.0
A simple abstraction layer for the modern graphics APIs.
Toggle main menu visibility
首页
模块
类
类列表
类索引
类继承关系
类成员
全部
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
~
函数
b
c
d
e
f
g
i
l
m
p
r
s
u
w
~
变量
枚举
枚举值
文件
文件列表
•
全部
类
函数
变量
枚举
枚举值
组
载入中...
搜索中...
未找到
GLPipeline.h
1
// Copyright 2022 ShenMian
2
// License(Apache-2.0)
3
4
#pragma once
5
6
#include "../Pipeline.h"
7
#include <glad/glad.h>
8
9
class
GLPipeline
:
public
Pipeline
10
{
11
public
:
12
GLPipeline
(
const
Descriptor
& desc);
13
~GLPipeline
();
14
15
void
bind()
override
;
16
17
private
:
18
void
setup_rasterizer(
const
Descriptor
& desc);
19
void
setup_viewports(
const
Descriptor
& desc);
20
void
setup_depth(
const
Descriptor
& desc);
21
22
GLuint handle;
23
};
GLPipeline
Definition:
GLPipeline.h:10
Pipeline
图形管线.
Definition:
Pipeline.h:63
Pipeline::Descriptor
Definition:
Pipeline.h:66
src
OpenGL
GLPipeline.h
制作者
1.9.5