package content_previews
import "kaijuengine.com/editor/project/project_database/content_previews"
Types
ContentPreviewer
struct
type ContentPreviewer struct {
// Has unexported fields.
}
ContentPreviewer.DeletePreviewImage
func (p *ContentPreviewer) DeletePreviewImage(id string) error
ContentPreviewer.GeneratePreviews
func (p *ContentPreviewer) GeneratePreviews(ids []string)
ContentPreviewer.Initialize
func (p *ContentPreviewer) Initialize(ed EditorInterface) error
ContentPreviewer.LoadPreviewImage
func (p *ContentPreviewer) LoadPreviewImage(id string) (*rendering.Texture, error)
EditorInterface
interface
type EditorInterface interface {
Host() *engine.Host
Events() *editor_events.EditorEvents
ProjectFileSystem() *project_file_system.FileSystem
Cache() *content_database.Cache
}