EmbeddedTexture(Int32, Int32, Texel, String) Constructor |
Constructs a new instance of the
EmbeddedTexture class. This creates an uncompressed
embedded texture.
Namespace: Internal.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic EmbeddedTexture(
int width,
int height,
Texel[] uncompressedData,
string originalFileName = ""
)
Parameters
- width Int32
- Width of the texture
- height Int32
- Height of the texture
- uncompressedData Texel
- Color data
- originalFileName String (Optional)
- Optional file name for the texture.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown if the data size does not match width * height. |
See Also