Exemple #1
0
 /// <summary>
 /// Set linked depth-stencil surface.
 /// </summary>
 private void SetLinkedDepthStencil(RenderSurface depthStencil)
 {
     Runtime.ValidateRefCounted(this);
     RenderSurface_SetLinkedDepthStencil(handle, (object)depthStencil == null ? IntPtr.Zero : depthStencil.Handle);
 }
Exemple #2
0
 /// <summary>
 /// Set linked color rendertarget.
 /// </summary>
 private void SetLinkedRenderTarget(RenderSurface renderTarget)
 {
     Runtime.ValidateRefCounted(this);
     RenderSurface_SetLinkedRenderTarget(handle, (object)renderTarget == null ? IntPtr.Zero : renderTarget.Handle);
 }
Exemple #3
0
 /// <summary>
 /// Define with rendertarget and viewport. Return true if successful.
 /// </summary>
 public bool Define(RenderSurface renderTarget, Viewport viewport)
 {
     Runtime.ValidateRefCounted(this);
     return(View_Define(handle, (object)renderTarget == null ? IntPtr.Zero : renderTarget.Handle, (object)viewport == null ? IntPtr.Zero : viewport.Handle));
 }