Property | Type | Description | |
---|---|---|---|
a_position | |||
a_texCoord | |||
indices | ushort[] | ||
s_texture | |||
u_matrix |
Method | Description | |
---|---|---|
Render ( |
||
Render ( int textureId, float left, float top, float w, float h ) : void | ||
RenderSubImage ( |
||
RenderSubImage ( |
||
RenderSubImage ( |
||
SimpleRectTextureShader ( |
Method | Description | |
---|---|---|
BuildProgram ( string vs, string fs ) : bool | ||
CheckViewMatrix ( ) : void | ||
OnProgramBuilt ( ) : void | ||
OnSetVarsBeforeRenderer ( ) : void |
protected BuildProgram ( string vs, string fs ) : bool | ||
vs | string | |
fs | string | |
return | bool |
public Render ( |
||
bmp | ||
left | float | |
top | float | |
w | float | |
h | float | |
return | void |
public Render ( int textureId, float left, float top, float w, float h ) : void | ||
textureId | int | |
left | float | |
top | float | |
w | float | |
h | float | |
return | void |
public RenderSubImage ( |
||
bmp | ||
srcDestList | float | |
scale | float | |
return | void |
public RenderSubImage ( |
||
bmp | ||
srcLeft | float | |
srcTop | float | |
srcW | float | |
srcH | float | |
targetLeft | float | |
targetTop | float | |
return | void |
public RenderSubImage ( |
||
bmp | ||
srcLeft | float | |
srcTop | float | |
srcW | float | |
srcH | float | |
targetLeft | float | |
targetTop | float | |
scale | float | |
return | void |
public SimpleRectTextureShader ( |
||
canvasShareResource | ||
return | OpenTK.Graphics.ES20 |
protected ShaderVtxAttrib3f,OpenTK.Graphics.ES20 a_position | ||
return |
protected ShaderVtxAttrib2f,OpenTK.Graphics.ES20 a_texCoord | ||
return |
protected ShaderUniformVar1,OpenTK.Graphics.ES20 s_texture | ||
return |