private static ulong NativeCreateVertexBuffer(VertexFormat vf, void *buffer, uint vertexCount) { return(s_retainedRenderResources.CreateVertexBuffer( buffer, vertexCount * vf.GetSize(), (uint)vf)); }
public static byte CalculateStride(this VertexFormat _this, Version version, int dimention) { return((byte)(_this.GetSize(version) * dimention)); }
private static ulong NativeCreateVertexBuffer(VertexFormat vf, void* buffer, uint vertexCount) { return s_retainedRenderResources.CreateVertexBuffer( buffer, vertexCount * vf.GetSize(), (uint)vf); }