C# Class OptixCore.Library.SurfaceProgram

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

Méthodes publiques

Méthode 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

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

Method Details

SurfaceProgram() public méthode

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.
Résultat System