Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / DrawInformation Class / SetPixelConstantBuffer Method / SetPixelConstantBuffer<T>(T) Method
Type of the constant buffer
Value of the constant buffer

In This Topic
    SetPixelConstantBuffer<T>(T) Method
    In This Topic
    Sets the constant buffer data from a struct value for the Pixel Stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetPixelConstantBuffer(Of T As {New, Struct})( _
       ByRef value As T _
    ) 
    public void SetPixelConstantBuffer<T>( 
       ref T value
    )
    where T: new(), struct

    Parameters

    value
    Value of the constant buffer

    Type Parameters

    T
    Type of the constant buffer
    See Also