Ejemplo n.º 1
0
 internal ConstantBuffer(ResourceHandle resourceHandle, ResourceUsage usage, uint structSizeBytes)
     : base(resourceHandle, usage, structSizeBytes, typeof(TConstants), structSizeBytes, 1U)
 {
 }
Ejemplo n.º 2
0
 internal VertexBuffer(ResourceHandle resourceHandle, ResourceUsage usage, uint vertexSizeBytes, uint length)
     : base(resourceHandle, usage, vertexSizeBytes * length, typeof(TVertex), vertexSizeBytes, length)
 {
 }