RenderContextBase.ReadColorBuffer Method

Reads the color buffer.
Public MustOverride Function ReadColorBuffer( _ 
ByVal viewport As IViewport, _ 
ByVal rect As Rectangle, _ 
ByRef stride As Integer, _ 
ByRef bpp As Integer
) As Byte()
This language is not supported or no code example is available.
public abstract byte[] ReadColorBuffer( 
IViewport viewport
Rectangle rect
out int stride
out int bpp 
)
This language is not supported or no code example is available.

Parameters

viewport
IViewport

The viewport to read.

rect
Rectangle

The rectangle to read, in viewport coordinates (0 on top)

stride
int

<default>

bpp
int

<default>

Return Value

byte[]

.NET Framework

Supported in: 4.8

In this article

Definition