Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwingltexture.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
---|---|---|---|---|---|
101 | * @since 4.11 | 101 | * @since 4.11 | ||
102 | */ | 102 | */ | ||
103 | QMatrix4x4 matrix(TextureCoordinateType type) const; | 103 | QMatrix4x4 matrix(TextureCoordinateType type) const; | ||
104 | 104 | | |||
105 | void update(const QImage& image, const QPoint &offset = QPoint(0, 0), const QRect &src = QRect()); | 105 | void update(const QImage& image, const QPoint &offset = QPoint(0, 0), const QRect &src = QRect()); | ||
106 | virtual void discard(); | 106 | virtual void discard(); | ||
107 | void bind(); | 107 | void bind(); | ||
108 | void unbind(); | 108 | void unbind(); | ||
109 | void render(QRegion region, const QRect& rect, bool hardwareClipping = false); | 109 | void render(const QRegion ®ion, const QRect& rect, bool hardwareClipping = false); | ||
110 | 110 | | |||
111 | GLuint texture() const; | 111 | GLuint texture() const; | ||
112 | GLenum target() const; | 112 | GLenum target() const; | ||
113 | GLenum filter() const; | 113 | GLenum filter() const; | ||
114 | GLenum internalFormat() const; | 114 | GLenum internalFormat() const; | ||
115 | 115 | | |||
116 | /** @short | 116 | /** @short | ||
117 | * Make the texture fully transparent | 117 | * Make the texture fully transparent | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |