public H1GpuResAllocPage(H1LinearAllocationType linearAllocationType, H1GpuResource resourceRef)
 {
     m_LinearAllocationType = linearAllocationType;
     m_ResourceRef          = resourceRef;
 }
 public H1GpuResAllocInfo(H1GpuResource buffer, Int64 offset, Int64 size, IntPtr dataPtr, long gpuAddress)
 {
     BufferRef = buffer; Offset = offset; Size = size; DataPtr = dataPtr; GpuAddress = gpuAddress;
 }
Example #3
0
 public H1IndexBufferView(H1GpuResource resourceRef, Int64 bufferLocation, H1PixelFormat format, Int32 sizeInBytes)
     : base(resourceRef)
 {
     ConstructPlatformIndependentMembers(bufferLocation, format, sizeInBytes);
     ConstructPlatformDependentMembers(bufferLocation, format, sizeInBytes);
 }
Example #4
0
 public H1ConstantBufferView(H1GpuResource resourceRef, Int64 bufferLocation, Int32 sizeInBytes)
     : base(resourceRef)
 {
     ConstructPlatformIndependentMembers(bufferLocation, sizeInBytes);
     ConstructPlatformDependentMembers(bufferLocation, sizeInBytes);
 }
Example #5
0
 public H1RenderTargetView(H1GpuResource resourceRef)
     : base(resourceRef)
 {
     m_Type = H1GpuViewTypes.RenderTargetView;
 }
Example #6
0
 public H1DepthStencilView(H1GpuResource resourceRef)
     : base(resourceRef)
 {
     m_Type = H1GpuViewTypes.DepthStencilView;
 }
Example #7
0
 public H1UnorderedAccessView(H1GpuResource resourceRef, H1GpuResource counterResourceRef = null)
     : base(resourceRef)
 {
     m_Type = H1GpuViewTypes.UnorderedAccessView;
     m_CounterResourceRef = counterResourceRef;
 }
Example #8
0
 public H1GpuView(H1GpuResource resourceRef)
 {
     m_ResourceRef = resourceRef;
 }
Example #9
0
 public H1ShaderResourceView(H1GpuResource resourceRef)
     : base(resourceRef)
 {
     m_Type = H1GpuViewTypes.ShaderResourceView;
 }