Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
AngelOgre_TexturePtr.h
Go to the documentation of this file.
1
2namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3
16 {
17 public:
20
22 TexturePtr(const TexturePtr&in other);
23
24 TexturePtr& opAssign(const TexturePtr&in other);
25
27 bool isNull();
28
30 string getName() const;
31
32 uint getWidth();
33 uint getHeight();
35
37 HardwarePixelBufferPtr getBuffer(uint face, uint mipmap);
38 };
39
42
43} // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
44
45
A shared pointer to a pixel buffer, which may be a texture surface (a single face and mipmap level) o...
A shared pointer to a texture.
TexturePtr(const TexturePtr &in other)
Creates a copy pointing to the same texture.
bool isNull()
Returns true if the pointer doesn't point to a texture.
string getName() const
Name of the texture resource.
TexturePtr()
Creates an empty (null) pointer.
TexturePtr & opAssign(const TexturePtr &in other)
HardwarePixelBufferPtr getBuffer(uint face, uint mipmap)
Returns the pixel buffer of the given face and mipmap level, see HardwarePixelBufferPtr.
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...