Urho
1.0.0.0
Urho.ResourceWithMetadata
Urho.IGPUObject
Base class for texture resources.
To be added.
Constructor
1.0.0.0
Preserve
Constructs a new instance of Urho.Texture which is tied to the .
Constructor
1.0.0.0
Preserve
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
Preserve
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
Preserve
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
System.UInt32
Return texture max. anisotropy level. Value 0 means to use the default value from Renderer. Or Set texture max. anisotropy level. No effect if not using anisotropic filtering. Value 0 (default) uses the default setting from Renderer.
To be added.
To be added.
Method
1.0.0.0
Urho.GPUObject
To be added.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return texture multisampling autoresolve mode. When true, the texture is resolved before being sampled on SetTexture(). When false, the texture will not be resolved and must be read as individual samples in the shader.
To be added.
To be added.
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.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
To be added.
Check maximum allowed mip levels for a specific texture size.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
To be added.
To be added.
Check maximum allowed mip levels for a specific 3D texture size.
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.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 rendertarget mipmap levels need regenration.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return texture multisampling level (1 = no multisampling).
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
Regenerate mipmap levels for a rendertarget after rendering and before sampling. Called internally by Graphics. No-op on Direct3D9. On OpenGL the texture must have been bound to work properly.
To be added.
Property
1.0.0.0
System.Boolean
Set or clear the need resolve flag. Called internally by Graphics.
To be added.
To be added.
Property
1.0.0.0
System.IntPtr
Return resolve texture. Only used on Direct3D11.
To be added.
To be added.
Property
1.0.0.0
System.IntPtr
Return sampler state object. Only used on Direct3D11.
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
Set the mipmap levels dirty flag. Called internally by Graphics.
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.
Set additional parameters from an XML element.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set additional parameters from an XML file.
To be added.
Method
1.0.0.0
System.Void
Dirty the parameters.
To be added.
Property
1.0.0.0
System.IntPtr
Return shader resource view. Only used on Direct3D11.
To be added.
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.
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.