10/8/2023 0 Comments Opengl 4.5![]() GlTextureSubImage2D( m_texture, 0, // texture and mip levelÄ , 0, m_extent.x, m_extent.y, // offset and size ![]() GlTextureStorage2D( m_texture, 1, GL_R32F, m_extent.x, m_extent.y ) GlCreateTextures( GL_TEXTURE_2D, 1, &m_texture ) This (for example texture handling) is opengl 4.5 (assign a single channel texture): It is just a very primitive vertex shader that sets a fixed position to every vertex in the call (which doesn't really make much sense).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |