Exemplo n.º 1
0
 private static extern void Internal_SetValue(IntPtr nativeInstance, Texture value);
Exemplo n.º 2
0
 private static extern void Internal_setTexture(IntPtr thisPtr, Texture texture);
Exemplo n.º 3
0
 private static extern void Internal_create1(RenderTexture managedInstance, Texture colorSurface, Texture depthStencilSurface);
Exemplo n.º 4
0
 private static extern void Internal_create0(RenderTexture managedInstance, Texture colorSurface);
Exemplo n.º 5
0
 /// <summary>Creates a new 2D render texture using one or multiple color textures and a depth/stencil texture.</summary>
 /// <param name="colorSurface">Color texture(s) to render color data to.</param>
 /// <param name="depthStencilSurface">Optional depth/stencil texture to render depth/stencil data to.</param>
 public RenderTexture(Texture[] colorSurface, Texture depthStencilSurface)
 {
     Internal_create3(this, colorSurface, depthStencilSurface);
 }
Exemplo n.º 6
0
 /// <summary>Creates a new 2D render texture using an existing color texture, and no depth-stencil texture.</summary>
 /// <param name="colorSurface">Color texture to render color data to.</param>
 public RenderTexture(Texture colorSurface)
 {
     Internal_create0(this, colorSurface);
 }