Class WebGLContextAttributes
Based upon the incredible work of the EvergineTeam https://github.com/EvergineTeam/WebGL.NET/tree/master/src/WebGLDotNET
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Imp.Graphics.Blazor
Assembly: Fusee.Engine.Imp.Graphics.Blazor.dll
Syntax
public class WebGLContextAttributes : JSHandler, IDisposable
Constructors
WebGLContextAttributes(IJSObjectReference)
Declaration
public WebGLContextAttributes(IJSObjectReference canvas)
Parameters
Type | Name | Description |
---|---|---|
IJSObjectReference | canvas |
Properties
Alpha
Declaration
public bool Alpha { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Antialias
Declaration
public bool Antialias { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Depth
Declaration
public bool Depth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Desynchronized
Declaration
public bool Desynchronized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FailIfMajorPerformanceCaveat
Declaration
public bool FailIfMajorPerformanceCaveat { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PowerPreference
Declaration
public string PowerPreference { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PremultipliedAlpha
Declaration
public bool PremultipliedAlpha { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PreserveDrawingBuffer
Declaration
public bool PreserveDrawingBuffer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Stencil
Declaration
public bool Stencil { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
System.IDisposable