The Texture type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Texture(Bitmap, PixelType, PixelFormat, PixelInternalFormat) |
Creates a 2D texture from a bitmap.
| |
Texture(IEnumerable<(Of <<'(Bitmap>)>>), Int32, Int32, Int32, Double, PixelType, PixelFormat, PixelInternalFormat) |
Creates a 3D from a sequence of bitmaps.
| |
Texture(Int32, Texture..::..TextureType, Int32, Int32, Int32, PixelType, PixelFormat, PixelInternalFormat) | Initializes a new instance of the Texture class |
Methods
Name | Description | |
---|---|---|
Bind |
Binds the texture to the currently active GL texture.
| |
Dispose |
Disposes the texture.
(Overrides GLObject..::..Dispose()()()().) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToBitmap |
Saves a bitmap to a
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Depth |
Gets the depth of the volume in pixels.
| |
Disposed |
Gets whether this object was disposed.
(Inherited from GLObject.) | |
Error |
Gets or sets (protected) the last GL error that occured (or NoError) while working with this object.
(Inherited from GLObject.) | |
Handle |
Gets or sets (protected) the bandle to the (primary) GL resource encapsulated by this object.
(Inherited from GLObject.) | |
Height |
Gets the height of the volume in pixels.
| |
PixelFormat |
Gets the pixel format used for storing the pixels.
| |
PixelInternalFormat |
Gets the pixel internal format used for storing the pixels.
| |
PixelType |
Gets the pixel type.
| |
Type |
Gets the type of this texture.
| |
Width |
Gets the width of the volume in pixels.
|