예제 #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));
 }