Esempio n. 1
0
 private static extern void Internal_SetValue(IntPtr nativeInstance, Texture value);
 private static extern void Internal_setTexture(IntPtr thisPtr, Texture texture);
Esempio n. 3
0
 private static extern void Internal_create1(RenderTexture managedInstance, Texture colorSurface, Texture depthStencilSurface);
Esempio n. 4
0
 private static extern void Internal_create0(RenderTexture managedInstance, Texture colorSurface);
Esempio 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);
 }
Esempio 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);
 }