C# 클래스 OptixCore.Library.SurfaceProgram

A Program representing a Surface shader program. Called when a ray intersects a surface.
상속: OptixCore.Library.OptixProgram
파일 보기 프로젝트 열기: HungryBear/OptixCore 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

SurfaceProgram() 공개 메소드

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.
리턴 System