コード例 #1
0
 public SparseImageOpaqueMemoryBindInfo()
 {
     NativePointer = (Unmanaged.SparseImageOpaqueMemoryBindInfo *)MemUtil.Alloc(typeof(Unmanaged.SparseImageOpaqueMemoryBindInfo));
 }
コード例 #2
0
 public FenceCreateInfo()
 {
     NativePointer        = (Unmanaged.FenceCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.FenceCreateInfo));
     NativePointer->SType = StructureType.FenceCreateInfo;
 }
コード例 #3
0
 public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
コード例 #4
0
 public PipelineTessellationStateCreateInfo()
 {
     NativePointer        = (Unmanaged.PipelineTessellationStateCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.PipelineTessellationStateCreateInfo));
     NativePointer->SType = StructureType.PipelineTessellationStateCreateInfo;
 }
コード例 #5
0
 public CommandBufferBeginInfo()
 {
     NativePointer        = (Unmanaged.CommandBufferBeginInfo *)MemUtil.Alloc(typeof(Unmanaged.CommandBufferBeginInfo));
     NativePointer->SType = StructureType.CommandBufferBeginInfo;
 }
コード例 #6
0
 public DeviceQueueCreateInfo()
 {
     NativePointer        = (Unmanaged.DeviceQueueCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.DeviceQueueCreateInfo));
     NativePointer->SType = StructureType.DeviceQueueCreateInfo;
 }
コード例 #7
0
 public DescriptorBufferInfo()
 {
     NativePointer = (Unmanaged.DescriptorBufferInfo *)MemUtil.Alloc(typeof(Unmanaged.DescriptorBufferInfo));
 }
コード例 #8
0
 public DebugMarkerMarkerInfoEXT()
 {
     NativePointer        = (Unmanaged.DebugMarkerMarkerInfoEXT *)MemUtil.Alloc(typeof(Unmanaged.DebugMarkerMarkerInfoEXT));
     NativePointer->SType = StructureType.DebugMarkerMarkerInfoEXT;
 }
 public PipelineRasterizationStateRasterizationOrderAMD()
 {
     NativePointer        = (Unmanaged.PipelineRasterizationStateRasterizationOrderAMD *)MemUtil.Alloc(typeof(Unmanaged.PipelineRasterizationStateRasterizationOrderAMD));
     NativePointer->SType = StructureType.PipelineRasterizationStateRasterizationOrderAMD;
 }
コード例 #10
0
 public ComputePipelineCreateInfo()
 {
     NativePointer        = (Unmanaged.ComputePipelineCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.ComputePipelineCreateInfo));
     NativePointer->SType = StructureType.ComputePipelineCreateInfo;
 }
コード例 #11
0
 public DescriptorSetAllocateInfo()
 {
     NativePointer        = (Unmanaged.DescriptorSetAllocateInfo *)MemUtil.Alloc(typeof(Unmanaged.DescriptorSetAllocateInfo));
     NativePointer->SType = StructureType.DescriptorSetAllocateInfo;
 }
コード例 #12
0
 public ImageViewCreateInfo()
 {
     NativePointer        = (Unmanaged.ImageViewCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.ImageViewCreateInfo));
     NativePointer->SType = StructureType.ImageViewCreateInfo;
 }
コード例 #13
0
ファイル: CopyDescriptorSet.cs プロジェクト: jcoder58/Tanagra
 public CopyDescriptorSet()
 {
     NativePointer        = (Unmanaged.CopyDescriptorSet *)MemUtil.Alloc(typeof(Unmanaged.CopyDescriptorSet));
     NativePointer->SType = StructureType.CopyDescriptorSet;
 }
コード例 #14
0
 public ShaderModuleCreateInfo()
 {
     NativePointer        = (Unmanaged.ShaderModuleCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.ShaderModuleCreateInfo));
     NativePointer->SType = StructureType.ShaderModuleCreateInfo;
 }
コード例 #15
0
 public DebugReportCallbackCreateInfoEXT()
 {
     NativePointer        = (Unmanaged.DebugReportCallbackCreateInfoEXT *)MemUtil.Alloc(typeof(Unmanaged.DebugReportCallbackCreateInfoEXT));
     NativePointer->SType = StructureType.DebugReportCallbackCreateInfoEXT;
 }
コード例 #16
0
 public AllocationCallbacks()
 {
     NativePointer = (Unmanaged.AllocationCallbacks *)MemUtil.Alloc(typeof(Unmanaged.AllocationCallbacks));
 }