Table of Contents

Class GLTextureBuilder

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class GLTextureBuilder : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
GLTextureBuilder
Implements
Inherited Members

Constructors

GLTextureBuilder(bool, params ConstructArgument[])

protected GLTextureBuilder(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

GLTextureBuilder(IntPtr, bool)

protected GLTextureBuilder(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ContextPropertyDefinition

public static readonly Property<GLContext?, GLTextureBuilder> ContextPropertyDefinition

Field Value

Property<GLContext, GLTextureBuilder>

FormatPropertyDefinition

public static readonly Property<MemoryFormat, GLTextureBuilder> FormatPropertyDefinition

Field Value

Property<MemoryFormat, GLTextureBuilder>

HasMipmapPropertyDefinition

public static readonly Property<bool, GLTextureBuilder> HasMipmapPropertyDefinition

Field Value

Property<bool, GLTextureBuilder>

HeightPropertyDefinition

public static readonly Property<int, GLTextureBuilder> HeightPropertyDefinition

Field Value

Property<int, GLTextureBuilder>

IdPropertyDefinition

public static readonly Property<uint, GLTextureBuilder> IdPropertyDefinition

Field Value

Property<uint, GLTextureBuilder>

SyncPropertyDefinition

public static readonly Property<IntPtr, GLTextureBuilder> SyncPropertyDefinition

Field Value

Property<IntPtr, GLTextureBuilder>

UpdateRegionPropertyDefinition

public static readonly Property<Region, GLTextureBuilder> UpdateRegionPropertyDefinition

Field Value

Property<Region, GLTextureBuilder>

UpdateTexturePropertyDefinition

public static readonly Property<Texture?, GLTextureBuilder> UpdateTexturePropertyDefinition

Field Value

Property<Texture, GLTextureBuilder>

WidthPropertyDefinition

public static readonly Property<int, GLTextureBuilder> WidthPropertyDefinition

Field Value

Property<int, GLTextureBuilder>

Properties

Context

public GLContext? Context { get; set; }

Property Value

GLContext

Format

public MemoryFormat Format { get; set; }

Property Value

MemoryFormat

HasMipmap

public bool HasMipmap { get; set; }

Property Value

bool

Height

public int Height { get; set; }

Property Value

int

Id

public uint Id { get; set; }

Property Value

uint

Sync

public IntPtr Sync { get; set; }

Property Value

IntPtr

UpdateRegion

public Region UpdateRegion { get; set; }

Property Value

Region

UpdateTexture

public Texture? UpdateTexture { get; set; }

Property Value

Texture

Width

public int Width { get; set; }

Property Value

int

Methods

GetContext()

[Version("4.12")]
public GLContext? GetContext()

Returns

GLContext

GetFormat()

[Version("4.12")]
public MemoryFormat GetFormat()

Returns

MemoryFormat

GetGType()

public static Type GetGType()

Returns

Type

GetHasMipmap()

[Version("4.12")]
public bool GetHasMipmap()

Returns

bool

GetHeight()

[Version("4.12")]
public int GetHeight()

Returns

int

GetId()

[Version("4.12")]
public uint GetId()

Returns

uint

GetSync()

[Version("4.12")]
public IntPtr GetSync()

Returns

IntPtr

GetUpdateRegion()

[Version("4.12")]
public Region? GetUpdateRegion()

Returns

Region

GetUpdateTexture()

[Version("4.12")]
public Texture? GetUpdateTexture()

Returns

Texture

GetWidth()

[Version("4.12")]
public int GetWidth()

Returns

int

New()

[Version("4.12")]
public static GLTextureBuilder New()

Returns

GLTextureBuilder

SetContext(GLContext?)

[Version("4.12")]
public void SetContext(GLContext? context)

Parameters

context GLContext

SetFormat(MemoryFormat)

[Version("4.12")]
public void SetFormat(MemoryFormat format)

Parameters

format MemoryFormat

SetHasMipmap(bool)

[Version("4.12")]
public void SetHasMipmap(bool hasMipmap)

Parameters

hasMipmap bool

SetHeight(int)

[Version("4.12")]
public void SetHeight(int height)

Parameters

height int

SetId(uint)

[Version("4.12")]
public void SetId(uint id)

Parameters

id uint

SetSync(IntPtr)

[Version("4.12")]
public void SetSync(IntPtr sync)

Parameters

sync IntPtr

SetUpdateRegion(Region?)

[Version("4.12")]
public void SetUpdateRegion(Region? region)

Parameters

region Region

SetUpdateTexture(Texture?)

[Version("4.12")]
public void SetUpdateTexture(Texture? texture)

Parameters

texture Texture

SetWidth(int)

[Version("4.12")]
public void SetWidth(int width)

Parameters

width int