Urho
1.0.0.0
Urho.Resource
%Image resource.
To be added.
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Image, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
The context that this object will be attached to.
Creates an instance of Image that is attached to an execution context.
This creates an instance of Image attached to the specified execution context.
Constructor
1.0.0.0
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Property
1.0.0.0
Urho.StringHash
Urho's type system base type.
StringHash representing the base type for this Urho type.
This returns the Urho type system base type and is surfaced for low-level Urho code.
Method
1.0.0.0
System.Void
To be added.
Clear the image with a color.
To be added.
Method
1.0.0.0
System.Void
To be added.
Clear the image with an integer color. R component is in the 8 lowest bits.
To be added.
Property
1.0.0.0
System.UInt32
Return number of color components.
To be added.
To be added.
Property
1.0.0.0
Urho.CompressedFormat
Return compressed format.
To be added.
To be added.
Method
1.0.0.0
Urho.Image
Return image converted to 4-component (RGBA) to circumvent modern rendering API's not supporting e.g. the luminance-alpha format.
To be added.
To be added.
Property
1.0.0.0
System.Byte*
Return pixel data.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return depth.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Flip image horizontally. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Flip image vertically. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
Urho.CompressedLevel
To be added.
Return a compressed mip level.
To be added.
To be added.
Method
1.0.0.0
Urho.Color
To be added.
To be added.
Return a 2D pixel color.
To be added.
To be added.
Method
1.0.0.0
Urho.Color
To be added.
To be added.
To be added.
Return a 3D pixel color.
To be added.
To be added.
Method
1.0.0.0
Urho.Color
To be added.
To be added.
Return a bilinearly sampled 2D pixel color. X and Y have the range 0-1.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
Return a 2D pixel integer color. R component is in the 8 lowest bits.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
To be added.
Return a 3D pixel integer color. R component is in the 8 lowest bits.
To be added.
To be added.
Method
1.0.0.0
Urho.Color
To be added.
To be added.
To be added.
Return a trilinearly sampled 3D pixel color. X, Y and Z have the range 0-1.
To be added.
To be added.
Method
1.0.0.0
Urho.Image
To be added.
Return subimage from the image by the defined rect or null if failed. 3D images are not supported. You must free the subimage yourself.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return height.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Whether this texture has been detected as a volume, only relevant for DDS.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Return whether is compressed.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Whether this texture is detected as a cubemap, only relevant for DDS.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Whether this texture is in sRGB, only relevant for DDS.
To be added.
To be added.
Property
1.0.0.0
Urho.Image
Return next mip level by bilinear filtering.
To be added.
To be added.
Property
1.0.0.0
Urho.Image
Return the next sibling image of an array or cubemap.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of compressed mip levels.
To be added.
To be added.
Method
1.0.0.0
System.Void
Precalculate the mip levels. Used by asynchronous texture loading.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Resize image by bilinear resampling. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Save in BMP format. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Save in JPG format with compression quality. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Save in PNG format. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Save in TGA format. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set new image data.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set a 2D pixel.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set a 3D pixel.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set a 2D pixel with an integer color. R component is in the 8 lowest bits.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set a 3D pixel with an integer color. R component is in the 8 lowest bits.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
Set 2D size and number of color components. Old image data will be destroyed and new data is undefined. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Set 3D size and number of color components. Old image data will be destroyed and new data is undefined. Return true if successful.
To be added.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Urho.StringHash
To be added.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return width.
To be added.
To be added.