示例#1
0
 /// <summary>
 /// Draw to occlusion buffer. Return true if did not run out of triangles.
 /// </summary>
 public override bool DrawOcclusion(OcclusionBuffer buffer)
 {
     Runtime.ValidateRefCounted(this);
     return(StaticModel_DrawOcclusion(handle, (object)buffer == null ? IntPtr.Zero : buffer.Handle));
 }
示例#2
0
文件: Drawable.cs 项目: yrest/urho
 /// <summary>
 /// Draw to occlusion buffer. Return true if did not run out of triangles.
 /// </summary>
 public virtual bool DrawOcclusion(OcclusionBuffer buffer)
 {
     Runtime.ValidateRefCounted(this);
     return(Drawable_DrawOcclusion(handle, (object)buffer == null ? IntPtr.Zero : buffer.Handle));
 }