Urho
1.0.0.0
Urho.Resources.Resource
Base class for texture resources.
To be added.
Constructor
1.0.0.0
Constructs a new instance of Urho.Texture which is tied to the .
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Texture, 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.
Constructs a new instance of Urho.Texture linked to a specific .
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.Texture
Return backup texture.
Or
Set backup texture to use when rendering to this texture.
To be added.
To be added.
Property
1.0.0.0
Urho.Color
Return border color.
Or
Set border color for border addressing mode.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of image components required to receive pixel data from GetData(), or 0 for compressed images.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether the texture format is compressed.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return height.
To be added.
To be added.
Property
1.0.0.0
Urho.TextureFilterMode
Return filtering mode.
Or
Set filtering mode.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return texture format.
To be added.
To be added.
Method
1.0.0.0
Urho.TextureAddressMode
To be added.
Return addressing mode by texture coordinate.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
Return data size in bytes for a rectangular region.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
To be added.
Return data size in bytes for a volume region.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
Return the data type corresponding to an OpenGL internal format.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
Return the non-internal texture format corresponding to an OpenGL internal format.
To be added.
To be added.
Method
1.0.0.0
System.Int32
To be added.
Return mip level depth, or 0 if level does not exist.
To be added.
To be added.
Method
1.0.0.0
System.Int32
To be added.
Return mip level width, or 0 if level does not exist.
To be added.
To be added.
Method
1.0.0.0
System.Int32
To be added.
Return mip level width, or 0 if level does not exist.
To be added.
To be added.
Method
1.0.0.0
System.Int32
To be added.
Return mip levels to skip on a quality setting when loading.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
Return data size in bytes for a pixel or block row.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
Return the corresponding SRGB texture format if supported. If not supported, return format unchanged.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return height.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of mip levels.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether parameters are dirty.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set addressing mode by texture coordinate.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set mip levels to skip on a quality setting when loading. Ensures higher quality levels do not skip more.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set number of requested mip levels. Needs to be called before setting size.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
Dirty the parameters.
To be added.
Property
1.0.0.0
System.Boolean
Return whether shadow compare is enabled.
Or
Set shadow compare mode.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether is using sRGB sampling and writing.
Or
Set sRGB sampling and writing mode.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return texture's OpenGL target.
To be added.
To be added.
Method
1.0.0.0
System.Void
Update changed parameters to OpenGL. Called by Graphics when binding the texture.
To be added.
Property
1.0.0.0
Urho.TextureUsage
Return texture usage type.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return width.
To be added.
To be added.