当前位置:网站首页>API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
2022-07-06 10:36:00 【hankern】
Set texture filtering mode .
1、GL_TEXTURE_MIN_FILTER
GL_TEXTURE_MIN_FILTER Value GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_LINEAR_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_LINEAR, Default GL_NEAREST_MIPMAP_LINEA
2、GL_TEXTURE_MAG_FILTER
GL_TEXTURE_MAG_FILTER Value GL_NEAREST GL_LINEAR, Default GL_LINEAR.
Used when sampling from texture “ Detail level ” When the function determines that the texture should be imaged , Will use “ Texture magnification ” function . It sets the texture magnification function to GL_NEAREST or GL_LINEAR.GL_NEAREST Often than GL_LINEAR faster , But it can generate texture images with sharper edges , Because the transition between texture elements is not so smooth .GL_ texture _MAG_ The initial value of the filter is GL_ linear .
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);边栏推荐
- How to build an interface automation testing framework?
- Global and Chinese market of wafer processing robots 2022-2028: Research Report on technology, participants, trends, market size and share
- Security design verification of API interface: ticket, signature, timestamp
- C miscellaneous two-way circular linked list
- Adaptive Bezier curve network for real-time end-to-end text recognition
- 如何搭建接口自动化测试框架?
- ByteTrack: Multi-Object Tracking by Associating Every Detection Box 论文阅读笔记()
- 16 medical registration system_ [order by appointment]
- Sed text processing
- Chrome浏览器端跨域不能访问问题处理办法
猜你喜欢

Security design verification of API interface: ticket, signature, timestamp

Introduction tutorial of typescript (dark horse programmer of station B)

Export virtual machines from esxi 6.7 using OVF tool

Super detailed steps to implement Wechat public number H5 Message push

保姆级手把手教你用C语言写三子棋

C miscellaneous dynamic linked list operation

基于Pytorch的LSTM实战160万条评论情感分类

MySQL22-逻辑架构

Adaptive Bezier curve network for real-time end-to-end text recognition

MySQL实战优化高手03 用一次数据更新流程,初步了解InnoDB存储引擎的架构设计
随机推荐
Const decorated member function problem
实现以form-data参数发送post请求
Mysql24 index data structure
16 medical registration system_ [order by appointment]
Case identification based on pytoch pulmonary infection (using RESNET network structure)
Not registered via @enableconfigurationproperties, marked (@configurationproperties use)
Jar runs with error no main manifest attribute
MySQL实战优化高手09 生产经验:如何为生产环境中的数据库部署监控系统?
PyTorch RNN 实战案例_MNIST手写字体识别
MySQL实战优化高手02 为了执行SQL语句,你知道MySQL用了什么样的架构设计吗?
15 medical registration system_ [appointment registration]
Water and rain condition monitoring reservoir water and rain condition online monitoring
pytorch的Dataset的使用
Pytorch LSTM实现流程(可视化版本)
Use JUnit unit test & transaction usage
Download and installation of QT Creator
Bytetrack: multi object tracking by associating every detection box paper reading notes ()
MySQL34-其他数据库日志
MySQL real battle optimization expert 08 production experience: how to observe the machine performance 360 degrees without dead angle in the process of database pressure test?
如何搭建接口自动化测试框架?