Describes an OpenGL texture along with information on how to sample from it. More...
#include <trampoline.h>
Public Attributes | |
GLuint | texture = 0 |
GLenum | target = 0 |
Matrix | uv_transformation |
Describes an OpenGL texture along with information on how to sample from it.
Definition at line 62 of file trampoline.h.
GLenum impeller::glvk::Trampoline::GLTextureInfo::target = 0 |
The OpenGL texture target enum. For instance, GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES.
Definition at line 71 of file trampoline.h.
Referenced by impeller::glvk::Trampoline::BlitTextureOpenGLToVulkan().
GLuint impeller::glvk::Trampoline::GLTextureInfo::texture = 0 |
The OpenGL texture handle.
Definition at line 66 of file trampoline.h.
Referenced by impeller::glvk::Trampoline::BlitTextureOpenGLToVulkan().
Matrix impeller::glvk::Trampoline::GLTextureInfo::uv_transformation |
A transformation applied to the texture coordinates in the form of (u, v, 0, 1) when sampling from the texture.
Definition at line 76 of file trampoline.h.
Referenced by impeller::glvk::Trampoline::BlitTextureOpenGLToVulkan().