GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SG_CGPROGRAM(3) FreeBSD Library Functions Manual SG_CGPROGRAM(3)

SG_CgProgramAgar-SG Cg program

#include <agar/core.h>
#include <agar/sg.h>

The SG_CgProgram object represents a vertex or pixel shader in the GPU programming language Cg.

AG_Object(3) -> SG_Program(3) -> SG_CgProgram.

SG_CgProgram *
(AG_Object *parent, const char *name);

The () function allocates, initializes, and attaches a SG_CgProgram object.

For the SG_CgProgram object:

CGprogram *objs
List of compiled programs.
Uint nObjs
Count of compiled programs.
CGprogram instObj
Currently effective (installed) program.
CGprofile instProf
Installed program profile.

SG(3), SG_Intro(3), SG_Program(3), SG_View(3)

Cg Toolkit (legacy)
 

The SG_CgProgram class first appeared in Agar 1.6.0.

December 21, 2022 Agar 1.7

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.