| 3488 | int GetSizeInBytes() const { return Width * Height * BytesPerPixel; } |
| 3489 | int GetPitch() const { return Width * BytesPerPixel; } |
| 3490 | ImTextureRef GetTexRef() { ImTextureRef tex_ref; tex_ref._TexData = this; tex_ref._TexID = ImTextureID_Invalid; return tex_ref; } |
| 3491 | ImTextureID GetTexID() const { return TexID; } |
| 3492 | |
| 3493 | // Called by Renderer backend |