Class OpenGLState
An OpenGL state.
Inheritance
System.Object
OpenGLState
Namespace: FM.LiveSwitch.Android
Assembly: FM.LiveSwitch.Android.dll
Syntax
public class OpenGLState : object
Constructors
OpenGLState(VideoBuffer)
Initializes a new instance of the OpenGLState class.
Declaration
public OpenGLState(VideoBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
VideoBuffer | buffer | The buffer. |
Properties
Height
Gets the height.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
uBuffer
Gets or sets the U buffer.
Declaration
public ByteBuffer uBuffer { get; set; }
Property Value
Type | Description |
---|---|
ByteBuffer | The u buffer. |
UStride
Gets the U stride.
Declaration
public int UStride { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
vBuffer
Gets or sets the V buffer.
Declaration
public ByteBuffer vBuffer { get; set; }
Property Value
Type | Description |
---|---|
ByteBuffer | The v buffer. |
VStride
Gets the V stride.
Declaration
public int VStride { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Width
Gets the width.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
yBuffer
Gets or sets the Y buffer.
Declaration
public ByteBuffer yBuffer { get; set; }
Property Value
Type | Description |
---|---|
ByteBuffer | The y buffer. |
YStride
Gets the Y stride.
Declaration
public int YStride { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Free()
Free databuffers of the OpenGLState class.
Declaration
public void Free()