public void SetIndirectDraw(CGpuBuffer pBuffer, UInt32 offset) { if (pBuffer == null) { return; } SDK_IPass_SetIndirectDraw(CoreObject, pBuffer.CoreObject, offset); }
public CUnorderedAccessView CreateUnorderedAccessView(CGpuBuffer pBuffer, CUnorderedAccessViewDesc desc) { unsafe { var obj = SDK_IRenderContext_CreateUnorderedAccessView(CoreObject, pBuffer.CoreObject, &desc); if (obj.Pointer == IntPtr.Zero) { return(null); } return(new CUnorderedAccessView(obj)); } }
public CVertexBuffer CreateVertexBufferFromBuffer(CVertexBufferDesc desc, CGpuBuffer pBuffer) { unsafe { var obj = SDK_IRenderContext_CreateVertexBufferFromBuffer(CoreObject, &desc, pBuffer.CoreObject); if (obj.Pointer == IntPtr.Zero) { return(null); } return(new CVertexBuffer(obj)); } }
public CShaderResourceView CreateShaderResourceViewFromBuffer(CGpuBuffer pBuffer, ISRVDesc desc) { unsafe { var obj = SDK_IRenderContext_CreateShaderResourceViewFromBuffer(CoreObject, pBuffer.CoreObject, &desc); if (obj.Pointer == IntPtr.Zero) { return(null); } return(new CShaderResourceView(obj)); } }