Class GLTextureBuilder
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public class GLTextureBuilder : Object, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
GLTextureBuilder
- Implements
-
- Inherited Members
-
Constructors
GLTextureBuilder(params ConstructArgument[])
public GLTextureBuilder(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
GLTextureBuilder(GLTextureBuilderHandle)
public GLTextureBuilder(GLTextureBuilderHandle handle)
Parameters
handle
GLTextureBuilderHandle
Fields
ColorStatePropertyDefinition
public static readonly Property<ColorState, GLTextureBuilder> ColorStatePropertyDefinition
Field Value
- Property<ColorState, GLTextureBuilder>
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<nint, GLTextureBuilder> SyncPropertyDefinition
Field Value
- Property<nint, 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
ColorState
public ColorState ColorState { get; set; }
Property Value
- ColorState
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 nint Sync { get; set; }
Property Value
- nint
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
GetColorState()
[Version("4.16")]
public ColorState GetColorState()
Returns
- ColorState
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 nint GetSync()
Returns
- nint
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
SetColorState(ColorState)
[Version("4.16")]
public void SetColorState(ColorState colorState)
Parameters
colorState
ColorState
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(nint)
[Version("4.12")]
public void SetSync(nint sync)
Parameters
sync
nint
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