C# Class OptixCore.Library.SurfaceProgram

A Program representing a Surface shader program. Called when a ray intersects a surface.
Inheritance: OptixCore.Library.OptixProgram
Show file Open project: HungryBear/OptixCore Class Usage Examples

Public Methods

Method Description
SurfaceProgram ( OptixCore.Library.Context context, RayHitType type, String filename, String programName ) : System

Creates a program located at [filename] with main function [programName]

Private Methods

Method Description
SurfaceProgram ( OptixCore.Library.Context ctx, RayHitType type, IntPtr program ) : System

Method Details

SurfaceProgram() public method

Creates a program located at [filename] with main function [programName]
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.
return System