Метод | Описание | |
---|---|---|
Begin ( int mode ) : void |
Begin drawing 3D primitives.
|
|
Clear ( bool clearDepth, bool clearColor, UnityEngine backgroundColor, [ depth ) : void |
Clear the current render buffer.
|
|
Color ( UnityEngine c ) : void |
Sets current vertex color.
|
|
GetGPUProjectionMatrix ( |
Compute GPU projection matrix from camera's projection matrix.
|
|
IssuePluginEvent ( IntPtr callback, int eventID ) : void |
Send a user-defined event to a native code plugin.
|
|
LoadPixelMatrix ( float left, float right, float bottom, float top ) : void |
Setup a matrix for pixel-correct rendering.
|
|
LoadProjectionMatrix ( |
Load an arbitrary matrix to the current projection matrix.
|
|
MultMatrix ( |
Multiplies the current modelview matrix with the one specified.
|
|
MultiTexCoord ( int unit, |
Sets current texture coordinate (v.x,v.y,v.z) to the actual texture unit.
|
|
TexCoord ( |
Sets current texture coordinate (v.x,v.y,v.z) for all texture units.
|
|
Vertex ( |
Submit a vertex.
|
|
Viewport ( |
Set the rendering viewport.
|
Метод | Описание | |
---|---|---|
BeginInternal ( int mode ) : void | ||
Clear ( bool clearDepth, bool clearColor, UnityEngine backgroundColor ) : void | ||
ClearWithSkybox ( bool clearDepth, |
||
End ( ) : void | ||
Flush ( ) : void | ||
INTERNAL_CALL_Color ( UnityEngine &c ) : void | ||
INTERNAL_CALL_GetGPUProjectionMatrix ( |
||
INTERNAL_CALL_Internal_Clear ( bool clearDepth, bool clearColor, UnityEngine &backgroundColor, float depth ) : void | ||
INTERNAL_CALL_LoadProjectionMatrix ( |
||
INTERNAL_CALL_MultMatrix ( |
||
INTERNAL_CALL_MultiTexCoord ( int unit, |
||
INTERNAL_CALL_TexCoord ( |
||
INTERNAL_CALL_Vertex ( |
||
INTERNAL_CALL_Viewport ( |
||
INTERNAL_get_modelview ( |
||
INTERNAL_set_modelview ( |
||
Internal_Clear ( bool clearDepth, bool clearColor, UnityEngine backgroundColor, float depth ) : void | ||
InvalidateState ( ) : void | ||
IssuePluginEvent ( int eventID ) : void | ||
IssuePluginEventInternal ( IntPtr callback, int eventID ) : void | ||
LoadIdentity ( ) : void | ||
LoadOrtho ( ) : void | ||
LoadPixelMatrix ( ) : void | ||
LoadPixelMatrixArgs ( float left, float right, float bottom, float top ) : void | ||
MultiTexCoord2 ( int unit, float x, float y ) : void | ||
MultiTexCoord3 ( int unit, float x, float y, float z ) : void | ||
PopMatrix ( ) : void | ||
PushMatrix ( ) : void | ||
RenderTargetBarrier ( ) : void | ||
SetRevertBackfacing ( bool revertBackFaces ) : void | ||
TexCoord2 ( float x, float y ) : void | ||
TexCoord3 ( float x, float y, float z ) : void | ||
Vertex3 ( float x, float y, float z ) : void |
public static Begin ( int mode ) : void | ||
mode | int | Primitives to draw: can be TRIANGLES, TRIANGLE_STRIP, QUADS or LINES. |
Результат | void |
public static Clear ( bool clearDepth, bool clearColor, UnityEngine backgroundColor, [ depth ) : void | ||
clearDepth | bool | Should the depth buffer be cleared? |
clearColor | bool | Should the color buffer be cleared? |
backgroundColor | UnityEngine | The color to clear with, used only if clearColor is true. |
depth | [ | The depth to clear Z buffer with, used only if clearDepth is true. |
Результат | void |
public static Color ( UnityEngine c ) : void | ||
c | UnityEngine | |
Результат | void |
public static GetGPUProjectionMatrix ( |
||
proj | Source projection matrix. | |
renderIntoTexture | bool | Will this projection be used for rendering into a RenderTexture? |
Результат |
public static IssuePluginEvent ( IntPtr callback, int eventID ) : void | ||
callback | IntPtr | Native code callback to queue for Unity's renderer to invoke. |
eventID | int | User defined id to send to the callback. |
Результат | void |
public static LoadPixelMatrix ( float left, float right, float bottom, float top ) : void | ||
left | float | |
right | float | |
bottom | float | |
top | float | |
Результат | void |
public static LoadProjectionMatrix ( |
||
mat | ||
Результат | void |
public static MultMatrix ( |
||
mat | ||
Результат | void |
public static MultiTexCoord ( int unit, |
||
unit | int | |
v | ||
Результат | void |
public static TexCoord ( |
||
v | ||
Результат | void |
public static Vertex ( |
||
v | ||
Результат | void |
public static Viewport ( |
||
pixelRect | ||
Результат | void |