SetCompressedData sets the compressed texture data
(width, height int, iformat int32, size int32, data interface{})
| 196 | |
| 197 | // SetCompressedData sets the compressed texture data |
| 198 | func (t *Texture2D) SetCompressedData(width, height int, iformat int32, size int32, data interface{}) { |
| 199 | |
| 200 | t.width = int32(width) |
| 201 | t.height = int32(height) |
| 202 | t.iformat = iformat |
| 203 | t.compressed = true |
| 204 | t.size = size |
| 205 | t.data = data |
| 206 | t.updateData = true |
| 207 | } |
| 208 | |
| 209 | // SetVisible sets the visibility state of the texture |
| 210 | func (t *Texture2D) SetVisible(state bool) { |
no outgoing calls
no test coverage detected