메소드 | 설명 | |
---|---|---|
SurfaceProgram ( OptixCore.Library.Context context, RayHitType type, String filename, String programName ) : System |
Creates a program located at [filename] with main function [programName]
|
메소드 | 설명 | |
---|---|---|
SurfaceProgram ( OptixCore.Library.Context ctx, RayHitType type, IntPtr program ) : System |
public SurfaceProgram ( OptixCore.Library.Context context, RayHitType type, String filename, String programName ) : System | ||
context | OptixCore.Library.Context | Context with which to create the program. |
type | RayHitType | Type of ray this program represents. |
filename | String | Path of the compiled cuda ptx file holding the program. |
programName | String | Name of the main function of the program. |
리턴 | System |