NewTexture2DFromCompressedData creates a new compressed texture from data
(width, height int, iformat int32, size int32, data interface{})
| 112 | |
| 113 | // NewTexture2DFromCompressedData creates a new compressed texture from data |
| 114 | func NewTexture2DFromCompressedData(width, height int, iformat int32, size int32, data interface{}) *Texture2D { |
| 115 | |
| 116 | t := newTexture2D() |
| 117 | t.SetCompressedData(width, height, iformat, size, data) |
| 118 | return t |
| 119 | } |
| 120 | |
| 121 | // Incref increments the reference count for this texture |
| 122 | // and returns a pointer to the geometry. |
nothing calls this directly
no test coverage detected