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