C# Класс CSharpGL.Texture

Texture.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
id uint[]

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

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

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Initialize ( ) : void

resources(bitmap etc.) can be disposed after this initialization.

Texture ( TextureTarget target, Bitmap bitmap, SamplerBase samplerBuilder, int maxLevel, int border ) : System

Texture.

Texture ( TextureTarget target, Bitmap bitmap, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear, int maxLevel, int border ) : System

Texture.

Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerBase samplerBuilder ) : System

Texture.

Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear ) : System

Texture.

ToString ( ) : string

Unbind ( ) : void

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

Метод Описание
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

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

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

public Bind ( ) : void
Результат void

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

resources(bitmap etc.) can be disposed after this initialization.
public Initialize ( ) : void
Результат void

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

Texture.
public Texture ( TextureTarget target, Bitmap bitmap, SamplerBase samplerBuilder, int maxLevel, int border ) : System
target TextureTarget
bitmap System.Drawing.Bitmap
samplerBuilder SamplerBase
maxLevel int
border int
Результат System

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

Texture.
public Texture ( TextureTarget target, Bitmap bitmap, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear, int maxLevel, int border ) : System
target TextureTarget
bitmap System.Drawing.Bitmap
parameters SamplerParameters
mipmapFiltering MipmapFilter
maxLevel int
border int
Результат System

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

Texture.
public Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerBase samplerBuilder ) : System
target TextureTarget
imageBuilder ImageFiller
samplerBuilder SamplerBase
Результат System

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

Texture.
public Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear ) : System
target TextureTarget
imageBuilder ImageFiller
parameters SamplerParameters
mipmapFiltering MipmapFilter
Результат System

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

public ToString ( ) : string
Результат string

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

public Unbind ( ) : void
Результат void

Описание свойств

id защищенное свойство

texture's id/name.
protected uint[] id
Результат uint[]