C# Класс Sharpex2D.Rendering.OpenGL.OpenGLTexture

Наследование: ITexture
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Bind void
OpenGLTexture System.Collections.Generic
Unbind void

Открытые методы

Метод Описание
Lock ( ) : void

Locks the texture.

Unlock ( ) : void

Unlocks the data.

this ( int x, int y ) : Color

Gets or sets the color of the specified texel.

Приватные методы

Метод Описание
Bind ( ) : void

Binds the current texture.

OpenGLTexture ( Bitmap bitmap ) : System.Collections.Generic

Initializes a new OpenGLTexture class.

Unbind ( ) : void

Unbinds the texture.

Описание методов

Lock() публичный Метод

Locks the texture.
public Lock ( ) : void
Результат void

Unlock() публичный Метод

Unlocks the data.
public Unlock ( ) : void
Результат void

this() публичный Метод

Gets or sets the color of the specified texel.
public this ( int x, int y ) : Color
x int The x offset.
y int The y offset.
Результат System.Drawing.Color