简体   繁体   English

opengl类型的导入是什么?

[英]What are the imports for opengl types?

I can't find the imports anywhere on the internet. 我无法在互联网上的任何地方找到进口商品。 Every time I try to use one of the types it just gives me an error, and eclipse doesn't seem to ever suggest to import anything from the opengl libraries (I'm using the lwjgl library and the slick library which contains opengl, although I'm not sure if that would cause eclipse to not suggest imports from it). 每次我尝试使用其中一种类型时,都会给我一个错误,并且eclipse似乎从未建议从opengl库中导入任何内容(尽管我使用的是lwjgl库和包含opengl的slick库,我不确定这是否会导致日食不建议从中导入)。

I don't know why no one just told me, but apparently opengl types aren't used by you in java. 我不知道为什么没有人告诉我,但是显然在Java中您没有使用opengl类型。 Instead of using gluint or something in java, you just use the normal int and opengl takes care of the types for you. 无需使用gluint或Java中的任何东西,您只需使用常规的int,而opengl会为您处理这些类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM