Flutter Impeller
impeller::glvk::Trampoline::GLTextureInfo Struct Reference

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
 

Detailed Description

Describes an OpenGL texture along with information on how to sample from it.

Definition at line 62 of file trampoline.h.

Member Data Documentation

◆ target

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().

◆ texture

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().

◆ uv_transformation

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().


The documentation for this struct was generated from the following file: