C# Class Silverlight.Html.WebGL.WebGLRenderingContext

Mostrar archivo Open project: Arlorean/Silverlight-WebGL Class Usage Examples

Public Methods

Method Description
GetId ( ScriptObject obj ) : int
GetObject ( int id ) : ScriptObject
GetObject ( uint id ) : ScriptObject
Invoke ( string name ) : object
WebGLRenderingContext ( ) : System
WebGLRenderingContext ( System.Windows.Browser.HtmlElement canvas ) : System
WebGLRenderingContext ( System.Windows.Browser.HtmlElement canvas, System.Windows.Browser.ScriptObject attrs ) : System
WebGLRenderingContext ( ScriptObject context ) : System
activeTexture ( UInt32 texture ) : void
attachShader ( System.Windows.Browser.ScriptObject program, System.Windows.Browser.ScriptObject shader ) : void
bindAttribLocation ( System.Windows.Browser.ScriptObject program, UInt32 index, System.String name ) : void
bindBuffer ( UInt32 target, System.Windows.Browser.ScriptObject buffer ) : void
bindTexture ( UInt32 target, System.Windows.Browser.ScriptObject texture ) : void
bufferData ( UInt32 target, ArrayBuffer data, UInt32 usage ) : void
bufferData ( UInt32 target, ArrayBufferView data, UInt32 usage ) : void
bufferData ( UInt32 target, System.Int64 size, UInt32 usage ) : void
clear ( UInt32 mask ) : void
clearColor ( System.Single red, System.Single green, System.Single blue, System.Single alpha ) : void
clearDepth ( System.Single depth ) : void
clearStencil ( Int32 s ) : void
colorMask ( System.Boolean red, System.Boolean green, System.Boolean blue, System.Boolean alpha ) : void
compileShader ( System.Windows.Browser.ScriptObject shader ) : void
createBuffer ( ) : System.Windows.Browser.ScriptObject
createFramebuffer ( ) : System.Windows.Browser.ScriptObject
createProgram ( ) : System.Windows.Browser.ScriptObject
createRenderbuffer ( ) : System.Windows.Browser.ScriptObject
createShader ( UInt32 type ) : System.Windows.Browser.ScriptObject
createTexture ( ) : System.Windows.Browser.ScriptObject
cullFace ( UInt32 mode ) : void
deleteBuffer ( System.Windows.Browser.ScriptObject buffer ) : void
deleteFramebuffer ( System.Windows.Browser.ScriptObject framebuffer ) : void
deleteProgram ( System.Windows.Browser.ScriptObject program ) : void
deleteRenderbuffer ( System.Windows.Browser.ScriptObject renderbuffer ) : void
deleteShader ( System.Windows.Browser.ScriptObject shader ) : void
deleteTexture ( System.Windows.Browser.ScriptObject texture ) : void
depthFunc ( UInt32 func ) : void
depthMask ( System.Boolean flag ) : void
depthRange ( System.Single zNear, System.Single zFar ) : void
detachShader ( System.Windows.Browser.ScriptObject program, System.Windows.Browser.ScriptObject shader ) : void
disable ( UInt32 cap ) : void
disableVertexAttribArray ( UInt32 index ) : void
drawArrays ( UInt32 mode, Int32 first, Int32 count ) : void
drawElements ( UInt32 mode, Int32 count, UInt32 type, System.Int64 offset ) : void
enable ( UInt32 cap ) : void
enableVertexAttribArray ( UInt32 index ) : void
finish ( ) : void
flush ( ) : void
framebufferRenderbuffer ( UInt32 target, UInt32 attachment, UInt32 renderbuffertarget, System.Windows.Browser.ScriptObject renderbuffer ) : void
frontFace ( UInt32 mode ) : void
generateMipmap ( UInt32 target ) : void
getAttribLocation ( System.Windows.Browser.ScriptObject program, System.String name ) : Int32
getContextAttributes ( ) : System.Windows.Browser.ScriptObject
getError ( ) : UInt32
getExtension ( System.String name ) : object
getProgramParameter ( System.Windows.Browser.ScriptObject program, UInt32 pname ) : object
getShaderInfoLog ( System.Windows.Browser.ScriptObject shader ) : System.String
getShaderParameter ( System.Windows.Browser.ScriptObject shader, UInt32 pname ) : object
getSupportedExtensions ( ) : DOMString[]
getUniformLocation ( System.Windows.Browser.ScriptObject program, System.String name ) : System.Windows.Browser.ScriptObject
hint ( UInt32 target, UInt32 mode ) : void
isBuffer ( System.Windows.Browser.ScriptObject buffer ) : System.Boolean
isContextLost ( ) : bool
isEnabled ( UInt32 cap ) : System.Boolean
isFramebuffer ( System.Windows.Browser.ScriptObject framebuffer ) : System.Boolean
isProgram ( System.Windows.Browser.ScriptObject program ) : System.Boolean
isRenderbuffer ( System.Windows.Browser.ScriptObject renderbuffer ) : System.Boolean
isShader ( System.Windows.Browser.ScriptObject shader ) : System.Boolean
isTexture ( System.Windows.Browser.ScriptObject texture ) : System.Boolean
lineWidth ( System.Single width ) : void
linkProgram ( System.Windows.Browser.ScriptObject program ) : void
pixelStorei ( UInt32 pname, Int32 param ) : void
polygonOffset ( System.Single factor, System.Single units ) : void
readPixels ( Int32 x, Int32 y, Int32 width, Int32 height, UInt32 format, UInt32 type, ArrayBufferView pixels ) : void
renderbufferStorage ( UInt32 target, UInt32 internalformat, Int32 width, Int32 height ) : void
sampleCoverage ( System.Single value, System.Boolean invert ) : void
scissor ( Int32 x, Int32 y, Int32 width, Int32 height ) : void
shaderSource ( System.Windows.Browser.ScriptObject shader, System.String source ) : void
stencilFunc ( UInt32 func, Int32 @ref, UInt32 mask ) : void
stencilFuncSeparate ( UInt32 face, UInt32 func, Int32 @ref, UInt32 mask ) : void
stencilMask ( UInt32 mask ) : void
stencilMaskSeparate ( UInt32 face, UInt32 mask ) : void
stencilOp ( UInt32 fail, UInt32 zfail, UInt32 zpass ) : void
stencilOpSeparate ( UInt32 face, UInt32 fail, UInt32 zfail, UInt32 zpass ) : void
texImage2D ( UInt32 target, Int32 level, UInt32 internalformat, Int32 width, Int32 height, Int32 border, UInt32 format, UInt32 type, ArrayBufferView pixels ) : void
texImage2D ( UInt32 target, Int32 level, UInt32 internalformat, UInt32 format, UInt32 type, System.Image image ) : void
texParameterf ( UInt32 target, UInt32 pname, System.Single param ) : void
texParameteri ( UInt32 target, UInt32 pname, Int32 param ) : void
texParameteri ( UInt32 target, UInt32 pname, UInt32 param ) : void
uniform1f ( System.Windows.Browser.ScriptObject location, System.Single x ) : void
uniform1i ( System.Windows.Browser.ScriptObject location, Int32 x ) : void
uniform3f ( System.Windows.Browser.ScriptObject location, System.Single x, System.Single y, System.Single z ) : void
uniformMatrix2fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, Float32Array value ) : void
uniformMatrix2fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, System.Single value ) : void
uniformMatrix3fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, Float32Array value ) : void
uniformMatrix3fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, System.Single value ) : void
uniformMatrix4fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, Float32Array value ) : void
uniformMatrix4fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, System.Single value ) : void
useProgram ( System.Windows.Browser.ScriptObject program ) : void
validateProgram ( System.Windows.Browser.ScriptObject program ) : void
vertexAttribPointer ( UInt32 indx, Int32 size, UInt32 type, System.Boolean normalized, Int32 stride, System.Int64 offset ) : void
viewport ( Int32 x, Int32 y, Int32 width, Int32 height ) : void

Private Methods

Method Description
GLboolean ( object any ) : System.Boolean
GLenum ( object any ) : UInt32
GLint ( object any ) : Int32
texImage2D ( UInt32 target, Int32 level, UInt32 internalformat, UInt32 format, UInt32 type, System.Windows.Browser.HtmlElement canvas ) : void

Method Details

GetId() public method

public GetId ( ScriptObject obj ) : int
obj ScriptObject
return int

GetObject() public method

public GetObject ( int id ) : ScriptObject
id int
return ScriptObject

GetObject() public method

public GetObject ( uint id ) : ScriptObject
id uint
return ScriptObject

Invoke() public method

public Invoke ( string name ) : object
name string
return object

WebGLRenderingContext() public method

public WebGLRenderingContext ( ) : System
return System

WebGLRenderingContext() public method

public WebGLRenderingContext ( System.Windows.Browser.HtmlElement canvas ) : System
canvas System.Windows.Browser.HtmlElement
return System

WebGLRenderingContext() public method

public WebGLRenderingContext ( System.Windows.Browser.HtmlElement canvas, System.Windows.Browser.ScriptObject attrs ) : System
canvas System.Windows.Browser.HtmlElement
attrs System.Windows.Browser.ScriptObject
return System

WebGLRenderingContext() public method

public WebGLRenderingContext ( ScriptObject context ) : System
context ScriptObject
return System

activeTexture() public method

public activeTexture ( UInt32 texture ) : void
texture System.UInt32
return void

attachShader() public method

public attachShader ( System.Windows.Browser.ScriptObject program, System.Windows.Browser.ScriptObject shader ) : void
program System.Windows.Browser.ScriptObject
shader System.Windows.Browser.ScriptObject
return void

bindAttribLocation() public method

public bindAttribLocation ( System.Windows.Browser.ScriptObject program, UInt32 index, System.String name ) : void
program System.Windows.Browser.ScriptObject
index System.UInt32
name System.String
return void

bindBuffer() public method

public bindBuffer ( UInt32 target, System.Windows.Browser.ScriptObject buffer ) : void
target System.UInt32
buffer System.Windows.Browser.ScriptObject
return void

bindTexture() public method

public bindTexture ( UInt32 target, System.Windows.Browser.ScriptObject texture ) : void
target System.UInt32
texture System.Windows.Browser.ScriptObject
return void

bufferData() public method

public bufferData ( UInt32 target, ArrayBuffer data, UInt32 usage ) : void
target System.UInt32
data ArrayBuffer
usage System.UInt32
return void

bufferData() public method

public bufferData ( UInt32 target, ArrayBufferView data, UInt32 usage ) : void
target System.UInt32
data ArrayBufferView
usage System.UInt32
return void

bufferData() public method

public bufferData ( UInt32 target, System.Int64 size, UInt32 usage ) : void
target System.UInt32
size System.Int64
usage System.UInt32
return void

clear() public method

public clear ( UInt32 mask ) : void
mask System.UInt32
return void

clearColor() public method

public clearColor ( System.Single red, System.Single green, System.Single blue, System.Single alpha ) : void
red System.Single
green System.Single
blue System.Single
alpha System.Single
return void

clearDepth() public method

public clearDepth ( System.Single depth ) : void
depth System.Single
return void

clearStencil() public method

public clearStencil ( Int32 s ) : void
s System.Int32
return void

colorMask() public method

public colorMask ( System.Boolean red, System.Boolean green, System.Boolean blue, System.Boolean alpha ) : void
red System.Boolean
green System.Boolean
blue System.Boolean
alpha System.Boolean
return void

compileShader() public method

public compileShader ( System.Windows.Browser.ScriptObject shader ) : void
shader System.Windows.Browser.ScriptObject
return void

createBuffer() public method

public createBuffer ( ) : System.Windows.Browser.ScriptObject
return System.Windows.Browser.ScriptObject

createFramebuffer() public method

public createFramebuffer ( ) : System.Windows.Browser.ScriptObject
return System.Windows.Browser.ScriptObject

createProgram() public method

public createProgram ( ) : System.Windows.Browser.ScriptObject
return System.Windows.Browser.ScriptObject

createRenderbuffer() public method

public createRenderbuffer ( ) : System.Windows.Browser.ScriptObject
return System.Windows.Browser.ScriptObject

createShader() public method

public createShader ( UInt32 type ) : System.Windows.Browser.ScriptObject
type System.UInt32
return System.Windows.Browser.ScriptObject

createTexture() public method

public createTexture ( ) : System.Windows.Browser.ScriptObject
return System.Windows.Browser.ScriptObject

cullFace() public method

public cullFace ( UInt32 mode ) : void
mode System.UInt32
return void

deleteBuffer() public method

public deleteBuffer ( System.Windows.Browser.ScriptObject buffer ) : void
buffer System.Windows.Browser.ScriptObject
return void

deleteFramebuffer() public method

public deleteFramebuffer ( System.Windows.Browser.ScriptObject framebuffer ) : void
framebuffer System.Windows.Browser.ScriptObject
return void

deleteProgram() public method

public deleteProgram ( System.Windows.Browser.ScriptObject program ) : void
program System.Windows.Browser.ScriptObject
return void

deleteRenderbuffer() public method

public deleteRenderbuffer ( System.Windows.Browser.ScriptObject renderbuffer ) : void
renderbuffer System.Windows.Browser.ScriptObject
return void

deleteShader() public method

public deleteShader ( System.Windows.Browser.ScriptObject shader ) : void
shader System.Windows.Browser.ScriptObject
return void

deleteTexture() public method

public deleteTexture ( System.Windows.Browser.ScriptObject texture ) : void
texture System.Windows.Browser.ScriptObject
return void

depthFunc() public method

public depthFunc ( UInt32 func ) : void
func System.UInt32
return void

depthMask() public method

public depthMask ( System.Boolean flag ) : void
flag System.Boolean
return void

depthRange() public method

public depthRange ( System.Single zNear, System.Single zFar ) : void
zNear System.Single
zFar System.Single
return void

detachShader() public method

public detachShader ( System.Windows.Browser.ScriptObject program, System.Windows.Browser.ScriptObject shader ) : void
program System.Windows.Browser.ScriptObject
shader System.Windows.Browser.ScriptObject
return void

disable() public method

public disable ( UInt32 cap ) : void
cap System.UInt32
return void

disableVertexAttribArray() public method

public disableVertexAttribArray ( UInt32 index ) : void
index System.UInt32
return void

drawArrays() public method

public drawArrays ( UInt32 mode, Int32 first, Int32 count ) : void
mode System.UInt32
first System.Int32
count System.Int32
return void

drawElements() public method

public drawElements ( UInt32 mode, Int32 count, UInt32 type, System.Int64 offset ) : void
mode System.UInt32
count System.Int32
type System.UInt32
offset System.Int64
return void

enable() public method

public enable ( UInt32 cap ) : void
cap System.UInt32
return void

enableVertexAttribArray() public method

public enableVertexAttribArray ( UInt32 index ) : void
index System.UInt32
return void

finish() public method

public finish ( ) : void
return void

flush() public method

public flush ( ) : void
return void

framebufferRenderbuffer() public method

public framebufferRenderbuffer ( UInt32 target, UInt32 attachment, UInt32 renderbuffertarget, System.Windows.Browser.ScriptObject renderbuffer ) : void
target System.UInt32
attachment System.UInt32
renderbuffertarget System.UInt32
renderbuffer System.Windows.Browser.ScriptObject
return void

frontFace() public method

public frontFace ( UInt32 mode ) : void
mode System.UInt32
return void

generateMipmap() public method

public generateMipmap ( UInt32 target ) : void
target System.UInt32
return void

getAttribLocation() public method

public getAttribLocation ( System.Windows.Browser.ScriptObject program, System.String name ) : Int32
program System.Windows.Browser.ScriptObject
name System.String
return System.Int32

getContextAttributes() public method

public getContextAttributes ( ) : System.Windows.Browser.ScriptObject
return System.Windows.Browser.ScriptObject

getError() public method

public getError ( ) : UInt32
return System.UInt32

getExtension() public method

public getExtension ( System.String name ) : object
name System.String
return object

getProgramParameter() public method

public getProgramParameter ( System.Windows.Browser.ScriptObject program, UInt32 pname ) : object
program System.Windows.Browser.ScriptObject
pname System.UInt32
return object

getShaderInfoLog() public method

public getShaderInfoLog ( System.Windows.Browser.ScriptObject shader ) : System.String
shader System.Windows.Browser.ScriptObject
return System.String

getShaderParameter() public method

public getShaderParameter ( System.Windows.Browser.ScriptObject shader, UInt32 pname ) : object
shader System.Windows.Browser.ScriptObject
pname System.UInt32
return object

getSupportedExtensions() public method

public getSupportedExtensions ( ) : DOMString[]
return DOMString[]

getUniformLocation() public method

public getUniformLocation ( System.Windows.Browser.ScriptObject program, System.String name ) : System.Windows.Browser.ScriptObject
program System.Windows.Browser.ScriptObject
name System.String
return System.Windows.Browser.ScriptObject

hint() public method

public hint ( UInt32 target, UInt32 mode ) : void
target System.UInt32
mode System.UInt32
return void

isBuffer() public method

public isBuffer ( System.Windows.Browser.ScriptObject buffer ) : System.Boolean
buffer System.Windows.Browser.ScriptObject
return System.Boolean

isContextLost() public method

public isContextLost ( ) : bool
return bool

isEnabled() public method

public isEnabled ( UInt32 cap ) : System.Boolean
cap System.UInt32
return System.Boolean

isFramebuffer() public method

public isFramebuffer ( System.Windows.Browser.ScriptObject framebuffer ) : System.Boolean
framebuffer System.Windows.Browser.ScriptObject
return System.Boolean

isProgram() public method

public isProgram ( System.Windows.Browser.ScriptObject program ) : System.Boolean
program System.Windows.Browser.ScriptObject
return System.Boolean

isRenderbuffer() public method

public isRenderbuffer ( System.Windows.Browser.ScriptObject renderbuffer ) : System.Boolean
renderbuffer System.Windows.Browser.ScriptObject
return System.Boolean

isShader() public method

public isShader ( System.Windows.Browser.ScriptObject shader ) : System.Boolean
shader System.Windows.Browser.ScriptObject
return System.Boolean

isTexture() public method

public isTexture ( System.Windows.Browser.ScriptObject texture ) : System.Boolean
texture System.Windows.Browser.ScriptObject
return System.Boolean

lineWidth() public method

public lineWidth ( System.Single width ) : void
width System.Single
return void

linkProgram() public method

public linkProgram ( System.Windows.Browser.ScriptObject program ) : void
program System.Windows.Browser.ScriptObject
return void

pixelStorei() public method

public pixelStorei ( UInt32 pname, Int32 param ) : void
pname System.UInt32
param System.Int32
return void

polygonOffset() public method

public polygonOffset ( System.Single factor, System.Single units ) : void
factor System.Single
units System.Single
return void

readPixels() public method

public readPixels ( Int32 x, Int32 y, Int32 width, Int32 height, UInt32 format, UInt32 type, ArrayBufferView pixels ) : void
x System.Int32
y System.Int32
width System.Int32
height System.Int32
format System.UInt32
type System.UInt32
pixels ArrayBufferView
return void

renderbufferStorage() public method

public renderbufferStorage ( UInt32 target, UInt32 internalformat, Int32 width, Int32 height ) : void
target System.UInt32
internalformat System.UInt32
width System.Int32
height System.Int32
return void

sampleCoverage() public method

public sampleCoverage ( System.Single value, System.Boolean invert ) : void
value System.Single
invert System.Boolean
return void

scissor() public method

public scissor ( Int32 x, Int32 y, Int32 width, Int32 height ) : void
x System.Int32
y System.Int32
width System.Int32
height System.Int32
return void

shaderSource() public method

public shaderSource ( System.Windows.Browser.ScriptObject shader, System.String source ) : void
shader System.Windows.Browser.ScriptObject
source System.String
return void

stencilFunc() public method

public stencilFunc ( UInt32 func, Int32 @ref, UInt32 mask ) : void
func System.UInt32
@ref System.Int32
mask System.UInt32
return void

stencilFuncSeparate() public method

public stencilFuncSeparate ( UInt32 face, UInt32 func, Int32 @ref, UInt32 mask ) : void
face System.UInt32
func System.UInt32
@ref System.Int32
mask System.UInt32
return void

stencilMask() public method

public stencilMask ( UInt32 mask ) : void
mask System.UInt32
return void

stencilMaskSeparate() public method

public stencilMaskSeparate ( UInt32 face, UInt32 mask ) : void
face System.UInt32
mask System.UInt32
return void

stencilOp() public method

public stencilOp ( UInt32 fail, UInt32 zfail, UInt32 zpass ) : void
fail System.UInt32
zfail System.UInt32
zpass System.UInt32
return void

stencilOpSeparate() public method

public stencilOpSeparate ( UInt32 face, UInt32 fail, UInt32 zfail, UInt32 zpass ) : void
face System.UInt32
fail System.UInt32
zfail System.UInt32
zpass System.UInt32
return void

texImage2D() public method

public texImage2D ( UInt32 target, Int32 level, UInt32 internalformat, Int32 width, Int32 height, Int32 border, UInt32 format, UInt32 type, ArrayBufferView pixels ) : void
target System.UInt32
level System.Int32
internalformat System.UInt32
width System.Int32
height System.Int32
border System.Int32
format System.UInt32
type System.UInt32
pixels ArrayBufferView
return void

texImage2D() public method

public texImage2D ( UInt32 target, Int32 level, UInt32 internalformat, UInt32 format, UInt32 type, System.Image image ) : void
target System.UInt32
level System.Int32
internalformat System.UInt32
format System.UInt32
type System.UInt32
image System.Image
return void

texParameterf() public method

public texParameterf ( UInt32 target, UInt32 pname, System.Single param ) : void
target System.UInt32
pname System.UInt32
param System.Single
return void

texParameteri() public method

public texParameteri ( UInt32 target, UInt32 pname, Int32 param ) : void
target System.UInt32
pname System.UInt32
param System.Int32
return void

texParameteri() public method

public texParameteri ( UInt32 target, UInt32 pname, UInt32 param ) : void
target System.UInt32
pname System.UInt32
param System.UInt32
return void

uniform1f() public method

public uniform1f ( System.Windows.Browser.ScriptObject location, System.Single x ) : void
location System.Windows.Browser.ScriptObject
x System.Single
return void

uniform1i() public method

public uniform1i ( System.Windows.Browser.ScriptObject location, Int32 x ) : void
location System.Windows.Browser.ScriptObject
x System.Int32
return void

uniform3f() public method

public uniform3f ( System.Windows.Browser.ScriptObject location, System.Single x, System.Single y, System.Single z ) : void
location System.Windows.Browser.ScriptObject
x System.Single
y System.Single
z System.Single
return void

uniformMatrix2fv() public method

public uniformMatrix2fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, Float32Array value ) : void
location System.Windows.Browser.ScriptObject
transpose System.Boolean
value Float32Array
return void

uniformMatrix2fv() public method

public uniformMatrix2fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, System.Single value ) : void
location System.Windows.Browser.ScriptObject
transpose System.Boolean
value System.Single
return void

uniformMatrix3fv() public method

public uniformMatrix3fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, Float32Array value ) : void
location System.Windows.Browser.ScriptObject
transpose System.Boolean
value Float32Array
return void

uniformMatrix3fv() public method

public uniformMatrix3fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, System.Single value ) : void
location System.Windows.Browser.ScriptObject
transpose System.Boolean
value System.Single
return void

uniformMatrix4fv() public method

public uniformMatrix4fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, Float32Array value ) : void
location System.Windows.Browser.ScriptObject
transpose System.Boolean
value Float32Array
return void

uniformMatrix4fv() public method

public uniformMatrix4fv ( System.Windows.Browser.ScriptObject location, System.Boolean transpose, System.Single value ) : void
location System.Windows.Browser.ScriptObject
transpose System.Boolean
value System.Single
return void

useProgram() public method

public useProgram ( System.Windows.Browser.ScriptObject program ) : void
program System.Windows.Browser.ScriptObject
return void

validateProgram() public method

public validateProgram ( System.Windows.Browser.ScriptObject program ) : void
program System.Windows.Browser.ScriptObject
return void

vertexAttribPointer() public method

public vertexAttribPointer ( UInt32 indx, Int32 size, UInt32 type, System.Boolean normalized, Int32 stride, System.Int64 offset ) : void
indx System.UInt32
size System.Int32
type System.UInt32
normalized System.Boolean
stride System.Int32
offset System.Int64
return void

viewport() public method

public viewport ( Int32 x, Int32 y, Int32 width, Int32 height ) : void
x System.Int32
y System.Int32
width System.Int32
height System.Int32
return void