C# Класс AlienEngine.Core.Graphics.OpenGL.GL

Показать файл Открыть проект

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

Метод Описание
DrawElements ( BeginMode mode, int count, DrawElementsType type, int offset ) : void

Renders primitives from array via indices.

DrawElements ( BeginMode mode, int count, DrawElementsType type, long offset ) : void

Renders primitives from array via indices.

TexSubImage1D ( TextureTarget target, int level, int xoffset, int width, PixelFormat format, PixelType type, int offset ) : void

Loads a part a 1D texture.

TexSubImage1D ( TextureTarget target, int level, int xoffset, int width, PixelFormat format, PixelType type, long offset ) : void

Loads a part a 1D texture.

TexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, int offset ) : void

Loads a part a 2D texture.

TexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, long offset ) : void

Loads a part a 2D texture.

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

Метод Описание
BindTexture ( TextureTarget target, uint texture ) : void
CopyTexImage1D ( TextureTarget target, int level, PixelInternalFormat internalformat, int x, int y, int width, int border ) : void
CopyTexImage2D ( TextureTarget target, int level, PixelInternalFormat internalformat, int x, int y, int width, int height, int border ) : void
CopyTexSubImage1D ( TextureTarget target, int level, int xoffset, int x, int y, int width ) : void
CopyTexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) : void
DeleteTextures ( int count ) : void
DrawArrays ( BeginMode mode, int first, int count ) : void
DrawElements ( BeginMode mode, int count, DrawElementsType type, IntPtr indices ) : void
GenTexture ( ) : uint
GenTexture ( uint &texture ) : void
GenTextures ( int count ) : uint[]
GenTextures ( int count, Array textures ) : void
GenTextures ( int one, uint &texture ) : void
GetPointerv ( GetPointerParameter pname, IntPtr &param ) : void
IsTexture ( uint texture ) : bool
PolygonOffset ( float factor, float units ) : void
TexSubImage1D ( TextureTarget target, int level, int xoffset, int width, PixelFormat format, PixelType type, Array pixels ) : void
TexSubImage1D ( TextureTarget target, int level, int xoffset, int width, PixelFormat format, PixelType type, IntPtr pixels ) : void
TexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, Array pixels ) : void
TexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, IntPtr pixels ) : void

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

DrawElements() публичный статический Метод

Renders primitives from array via indices.
public static DrawElements ( BeginMode mode, int count, DrawElementsType type, int offset ) : void
mode BeginMode A specifying the type of primitive to render.
count int Number of indices.
type DrawElementsType A specifying the data type of the indices.
offset int The offset into the array bound to .
Результат void

DrawElements() публичный статический Метод

Renders primitives from array via indices.
public static DrawElements ( BeginMode mode, int count, DrawElementsType type, long offset ) : void
mode BeginMode A specifying the type of primitive to render.
count int Number of indices.
type DrawElementsType A specifying the data type of the indices.
offset long The offset into the array bound to .
Результат void

TexSubImage1D() публичный статический Метод

Loads a part a 1D texture.
public static TexSubImage1D ( TextureTarget target, int level, int xoffset, int width, PixelFormat format, PixelType type, int offset ) : void
target TextureTarget A specifying the texture target.
level int The level-of-detail to be filled.
xoffset int The horizontal texel offset.
width int The width of the texture subimage.
format PixelFormat A specifying the format the pixels a given in.
type PixelType A specifying the data type the pixels a given in.
offset int The offset into the array bound to .
Результат void

TexSubImage1D() публичный статический Метод

Loads a part a 1D texture.
public static TexSubImage1D ( TextureTarget target, int level, int xoffset, int width, PixelFormat format, PixelType type, long offset ) : void
target TextureTarget A specifying the texture target.
level int The level-of-detail to be filled.
xoffset int The horizontal texel offset.
width int The width of the texture subimage.
format PixelFormat A specifying the format the pixels a given in.
type PixelType A specifying the data type the pixels a given in.
offset long The offset into the array bound to .
Результат void

TexSubImage2D() публичный статический Метод

Loads a part a 2D texture.
public static TexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, int offset ) : void
target TextureTarget A specifying the texture target.
level int The level-of-detail to be filled.
xoffset int The horizontal texel offset.
yoffset int The vertical texel offset.
width int The width of the texture subimage.
height int The height of the texture.
format PixelFormat A specifying the format the pixels a given in.
type PixelType A specifying the data type the pixels a given in.
offset int The offset into the array bound to .
Результат void

TexSubImage2D() публичный статический Метод

Loads a part a 2D texture.
public static TexSubImage2D ( TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, long offset ) : void
target TextureTarget A specifying the texture target.
level int The level-of-detail to be filled.
xoffset int The horizontal texel offset.
yoffset int The vertical texel offset.
width int The width of the texture subimage.
height int The height of the texture.
format PixelFormat A specifying the format the pixels a given in.
type PixelType A specifying the data type the pixels a given in.
offset long The offset into the array bound to .
Результат void