|
CFx SDK Documentation 2026 SP0
|
#include <TrVisRawTexture.h>
Public Member Functions | |
| OdTrVisRawTexture () | |
| ~OdTrVisRawTexture () | |
| void | resize (OdUInt32 width, OdUInt32 height, OdUInt32 format) |
| OdUInt32 | size () const |
| OdUInt32 | width () const |
| OdUInt32 | height () const |
| OdUInt32 | format () const |
| OdUInt8 * | data () |
| const OdUInt8 * | data () const |
Static Public Member Functions | |
| static OdUInt32 | pixelSize (OdUInt32 format) |
This class is a raw texture data. It's a lighter version of OdTrVisTexture. Not requires TR_BASE_LIB. Can be simply converted to OdTrVisTexture.
Definition at line 33 of file TrVisRawTexture.h.
|
inline |
Creates a new instance of an object with default parameters.
Definition at line 39 of file TrVisRawTexture.h.
|
inline |
Destroys the object.
Definition at line 44 of file TrVisRawTexture.h.
|
inline |
Returns raw texture data.
/returns raw texture data.
Definition at line 170 of file TrVisRawTexture.h.
|
inline |
Returns raw texture data.
/returns raw texture data.
Definition at line 180 of file TrVisRawTexture.h.
|
inline |
Returns the texture format.
/returns the texture format.
Definition at line 160 of file TrVisRawTexture.h.
|
inline |
Returns the height of the texture in pixels.
/returns the height of the texture in pixels.
Definition at line 150 of file TrVisRawTexture.h.
Returns the pixel size in the texture.
| format | [in] Texture format. See OdTrVisTexture::Format |
Definition at line 73 of file TrVisRawTexture.h.
This function resizes texture.
| width | [in] new texture width |
| height | [in] new texture height |
| format | [in] new texture format |
Definition at line 56 of file TrVisRawTexture.h.
|
inline |
Returns the total size of the texture in bytes.
/returns the total size of the texture in bytes.
Definition at line 130 of file TrVisRawTexture.h.
|
inline |
Returns the width of the texture in pixels.
/returns the width of the texture in pixels.
Definition at line 140 of file TrVisRawTexture.h.