Documentation ¶
Index ¶
- func CompileShader(source string, shaderType uint32) (uint32, error)
- func Config() string
- func CreateReceiver(sendername string, width *int, height *int, bUseActive bool) bool
- func NewBlankTexture(width int32, height int32) (uint32, error)
- func NewProgram(vertexShaderSource, fragmentShaderSource string) (uint32, error)
- func NewTexture(file string) (uint32, error)
- func NewTextureFromReader(reader io.Reader) (uint32, error)
- func ReceiveTexture(sendername string, width *int, height *int, textureID int, textureTarget int, ...) bool
- func ReleaseReceiver()
- func SendTexture(s Sender, texture uint32, width int, height int) bool
- type Sender
- type VizProgram
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileShader ¶
CompileShader compiler a shader
func CreateReceiver ¶
CreateReceiver creates a Receiver
func NewBlankTexture ¶
NewBlankTexture creates a new blank Texture
func NewProgram ¶
NewProgram compiles vertex and fragment shaders
func NewTextureFromReader ¶
NewTextureFromReader creates a new Texture from an io.Reader
Types ¶
Click to show internal directories.
Click to hide internal directories.