Share via


GraphicsStream.GraphicsStream(IntPtr,Int64,Boolean,Boolean) Constructor (Microsoft.DirectX)

Initializes a new instance of the GraphicsStream class.

Definition

Visual Basic Public Sub New( _
    ByVal dataPointer As IntPtrLeave Site, _
    ByVal size As Long, _
    ByVal read As Boolean, _
    ByVal write As Boolean _
)
C# public GraphicsStream(
    IntPtrLeave Site dataPointer,
    long size,
    bool read,
    bool write
);
C++ public:
 GraphicsStream(
    IntPtrLeave Site dataPointer,
    long size,
    bool read,
    bool write
);
JScript public function GraphicsStream(
    dataPointer : IntPtrLeave Site,
    size : long,
    read : boolean,
    write : boolean
);

Parameters

dataPointer System.IntPtr
Reference to the graphics data in the stream buffer.
size System.Int64
Size of the data referenced by dataPointer.
read System.Boolean
Set to true if the buffer is readable; otherwise, false.
write System.Boolean
Set to true if buffer is writable; otherwise, false.